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.

× Contact Enhanced is a contact component manager created to replace Joomla! core contacts component and add lots of advantages and new features (see Features ) and it offers many plugins and modules for several different purposes,
Product page | Documentation Page

Contact Enhanced Modal Warning window

13 years 5 months ago #4662 by douglas
Dear JKidd,

There are 3 javascript errors on your page. One of them is related to the Javascript alert, because you forgot to add quotes for the message, like this: alert(\'your message\');

The second Javascript error is related to JQuery. You can use Firebug in order to see what I'm talking about.

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

Solution:
I don't know exactly which extension is adding jQuery, but it is probably either your template or a system plugin;
JQuery can be used with MooTools, as long as the developer follows JQuery guidelines. You might want to suggest this feature to the extension'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.

Best wishes

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

13 years 5 months ago #4663 by jkidd
I have disabled many plugins which I think may have been problematic. However, I am still able to send email messages without the required field filled out. Also, the javascript alert is not showing when I send the message.

I tried using firebug to find the jquery conflicts, but I might not know how that works in firebug.

Can you tell if there are still jquery confilcts on the site?

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

13 years 5 months ago #4666 by douglas
Dear JKidd,

Nope, the error on Firebug console is still there.
The problem is with this file:
www.farmerandmorris.com/?jacmd...6e5ca89fe6ae351eca489468ccafdd

It seems to be related to jautosearch, even though I don't know exactly what that's about.

Best regards,

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

13 years 5 months ago #4667 by jkidd
Thanks. I'll check that one now.

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

13 years 5 months ago #4669 by jkidd
Ok, I found the bad extension, and replaced it. COuld you now check to see where thej error is that is causing the required fields validator not to work?

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

13 years 5 months ago #4670 by douglas
Dear JKidd,

The validation should be fixed now, and the only problem seems to be related to the alert that you've added. Can you please make sure it looks like this:
ideal.fok.com.br/support/forum...modal-warning-window.html#4583

Test with the exact code first to see if it works and then customize it the text.

Best regards,

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

13 years 5 months ago #4671 by jkidd
I got everything to work like normal whenever I pasted your exact code, but when I changed the message, it stopped working again.

This is the message that I was trying to insert:
BEFORE PROCEEDING, PLEASE NOTE: Our firm currently may represent persons or companies who have interests that are adverse to you. Whether you are an existing or a prospective client, you should not send us any confidential information unless we have checked for potential conflicts of interest and an attorney-client relationship has been established for this particular matter. An attorney-client relationship with our firm and its lawyers is established only after a specific engagement has been expressly agreed to between a partner in our firm and a client through direct, person-to-person communication. The duties of confidentiality and the attorney-client relationship do not arise until we have expressly undertaken a particular client engagement.\n\nBy clicking \“Accept\” you understand and agree to the foregoing and acknowledge that our firm will have no duty to keep confidential the information you are now transmitting.

Could it be that some of the other punctuation marks are interfering with the code?

Also, I talked to my boss and he said that we have to have the message pop up in a litebox window instead of the default browser-style window. Is that possible?

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

13 years 5 months ago #4672 by douglas
Dear JKidd,

The problem was with the line breaks in the code. You can just use this code:
$html	.= ' <span><button class="button ce-button-submit" type="submit" onclick="alert(\'BEFORE PROCEEDING, PLEASE NOTE:  Our firm currently may represent persons or companies who have interests that are adverse to you. Whether you are an existing or a prospective client, you should not send us any confidential information unless we have checked for potential conflicts of interest and an attorney-client relationship has been established for this particular matter. An attorney-client relationship with our firm and its lawyers is established only after a specific engagement has been expressly agreed to between a partner in our firm and a client through direct, person-to-person communication. The duties of confidentiality and the attorney-client relationship do not arise until we have expressly undertaken a particular client engagement.\n\nBy clicking \“Accept\” you understand and agree to the foregoing and acknowledge that our firm will have no duty to keep confidential the information you are now transmitting.\');return validateForm(this.form);">'.JText::_('Send').'</button></span>';

I've tested and it is working! ;-)

All the best,

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

13 years 4 months ago #4695 by jkidd
I am not able to get the message working. I copies the code directly how you gave it to me, and still it isn't working. However, the owner of the site and company really wants this message in a litebox window, instead of the system's warning message box. Would you be able to assist me with that?

The other thing I need help with is a few customisations on the map/directions. Is there a way that we could include several destinations in the "Get Directions" window?

Thank you so much for all of your help.

PS: If we need to pay a small fee for these customizations, we can discuss that. If you want this conversation to be continued through email instead of the forum, I think you should have my email address with my account info. My phone number is (828) 395-1710.

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

13 years 4 months ago #4696 by douglas
Dear JKidd,

Ligthbox style:
I've been trying to find out an easy way to accomplish that with Squeezebox for the past 1 hour and 15 minutes, without any luck.
Are you using the MooTools upgrade plugin? If so, I might try to use SexyAlertBox www.coders.me/ejemplos/sexy-alert-box/

Directions:
That's not possible with the current version and I don't want to spend the time working on this feature right now. I have some other priorities for Contact Enhanced.

In order to go private, you can just reply to this forum notification email address.

All the best,

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