Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

Javascript Problem

13 years 5 months ago #4179 by nunomark
Hy.

I have a script running on all my pages that enables a little poppup. I'm gonna post the code inside a "spoiler" tag because it is a bit long.

Warning: Spoiler! [ Click to expand ]


The thing is, when the user is in the page where the Ajax Contact Form is, the popup script doesn't work.

Can anyone help me get around this?

Thank you in advance.

Please Log in or Create an account to join the conversation.

13 years 5 months ago #4181 by douglas
Dear nunomark,

It is not very clear to me. Can you post a direct URL so I can take a look?


Best regards,

Please Log in or Create an account to join the conversation.

13 years 5 months ago - 13 years 5 months ago #4185 by nunomark
Sure thing.

Please have a look:

www.luxevile.com/index.php?opt...=article&id=4&Itemid=3&lang=en

Popups should appear right above the menu item "CONTACTS", when you hover the 2 little circle buttons.

Thank you.

Please Log in or Create an account to join the conversation.

13 years 5 months ago #4187 by douglas
Dear nunomark,

I noticed a javascript error.

Ajax Contact uses MooTools to validate the form, some effects and to perform some 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;

Solution:
JQuery is being included twice, but I don't know by which extension, all I know the JQuery file is this: jqueryfordesigners.com/demo/jquery.js
JQuery can be used with MooTools, as long as the developer follows JQuery guidelines. You might want to suggest this feature to the template's developer:
docs.jquery.com/Using_jQuery_with_Other_Libraries

Advice:
Always choose extensions that are 100% compatible with Joomla Framework;
Do not use JQuery in Joomla based websites, this way you will avoid incompatibilities and will load less javascript, therefore your website will load faster.

Sincere regards,

Please Log in or Create an account to join the conversation.

13 years 5 months ago #4188 by nunomark
Thank you.

I'll take a very close look at everything you said on the previous post, and I'll get back here if I find something other users may find useful.

Many thanks once more.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

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.
Feedback