Ajax Contact and Ajax Recommend

Ajax Recommend was based on Ajax Contact, therefore most of the questions and answers are very similar;

Recommend to a friend

You will usually want to associate modules with articles in some way. The modules are allocated to module positions and the module positions appear somewhere on the web page as determined by the template. However, it is sometimes useful to have a module actually embedded in the article content itself.

To insert a module inside an article you use the command { loadposition xx}*, as follows:

  1. Create a module and set its position to any value that doesn't conflict with an existing template position. You can type in the position value instead of selecting it from the drop-down list. For example, use the position "contact_position".
  2. Assign the module to the Menu Items that contain the articles that you want the module to show in. You can also just assign the module to "All" Menu Items.
  3. Edit the articles where you want this module to show and insert the text "{ loadposition contact_position}" in the article, at the place where you want the module to show.

The module will show at that point in the article.

Note that this only works when the plugin 'Content - Load Module' is enabled. If this plugin is disabled, the text "{ loadposition contact_position}" shows unchanged in the article. Also, if there is no such module position the sytax will be removed from the article;

*There is no space between { and loadposition, however it the plugin would try to load a position if I removed it.

The problem:

  • The form is sent and you get the "Thank you message", however the email never arrives in your mailbox;
  • After the form is sent you get a "Email not sent, please notify administrator" message;

Possible solutions:

  • Make sure Joomla Core Contact Component is working. It might be a problem with your mail server or mailer configuration;

There are 3 possible reasons:

  1. Captcha is not enable in the Module paramentes;
  2. It won't show if the user is logged in, because if he is logged in there is no need to verify whether he is a robot or human.
  3. Ajax Contact and Ajax recommend's Captcha feature only works with the MathGuard Library.The other libraries use server sessions which are killed once the form is submitted, therefore the user wouldn't be able to use the form again (if required) without reloading the page.

There are two possible reasons:

  1. Your template or another script is preventing MooTools from loading;
  2. There is a javascript incompatibility;

Ajax Contact uses MooTools to validate the form and to perform the AJAX calls;

MooTools is the Joomla default javascript library, therefore most templates use MooTools for their fancy things such as menus and slideshows; Your template or other extensions (modules, plugins, components) shouldn't use another javascript library other than MooTools, however if it does use another library such as JQuery it might be incompatible with many MooTools based scripts;


Disable the extension that is loading this other javascript library.


Always choose extensions that are 100% compatible with Joomla Framework;

Basically, There are 2 language files to create to translate the component or module, one for the frontend, one for the backend.

These files have to be named following the convention:


For example: en-GB.mod_ajax_contact.ini for english, pt-BR.mod_ajax_contact.ini for Brazilian Portuguese.

They have to be placed in the folder corresponding to the language and the frontend/admin part, for example:


Read more: How to translate or modify field labels and error messages?

More Articles ...

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.