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

Two Problems: Parameters not showing, date not showing

13 years 6 months ago #4217 by donkom
Hi there!

A client of mine bought your software for a contact form, but I am having some problems implementing it.

First off, parameters such as number of columns are not available. I was hoping to use this to simplify the contact form design, but they are not showing up anywhere to change.

Second, the calendar button for date fields is not showing up. As I am not as experienced with Joomla! as I would like to be, the solution to this isn't obvious.

Third, is there any way to have a map displayed where a user can drop a pin on the map, and then the form will return GPS coordinates for that field? This would be most helpful.


Thanks very much! You can find the work-in-progress here:
joomla.eyeinsky.ca/contact-us/book-a-custom-flight.html

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

13 years 6 months ago #4218 by douglas
Dear donkom,

1- Please watch this screencast in order to learn how multiple columns work:
ideal.fok.com.br/joomla-extens...-fields/78-basic-features.html

2- There is a javascript problem on your page.
Contact Enhanced uses MooTools to validate the form, perform effects and to laod 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:
Your template is adding JQuery Javascript Library. Some commercial templates that use JQuery have the option to disable it;.
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.

3- There is no "Get Coordinates" feature yet, right now there is only a "Get directions" feature, however I can implement it for you as a custom job.

Please let me know if you need any further assistance.

Kind regards,

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

13 years 6 months ago #4265 by donkom
Hi Doug,

Thank you for your response.

As for the parameters, everything is telling me I should see parameters listed here in this area, yet they are absent:
don.komarechka.com/images/contact-enhanced-paramsmissing.jpg

Also, I have tried to implement (various versions of) Mootools in the template, if even to just troubleshoot the problem and display the calendar correctly. When I look at the code that displays the calendar for the exact date, the code I see is:

<input type="text" name="cf_9[1]" id="cf_9[1]" value="" class="inputbox" /><img class="calendar" src="/templates/system/images/calendar.png" alt="calendar" id="cf_9[1]_img" />

Is this correct, or should there be a call to the javascript function that displays the calendar? I'm not familiar enough with the inner workings of your component to know if this is correct.

Thanks very much for your help so far.

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

13 years 6 months ago #4266 by douglas
Dear donkom,

You have a very old version of Contact Enhanced. Please download an upgrade from here:
ideal.fok.com.br/purchase-and-...-extensions.html?tpl=purchases

Contact Enhanced uses the Joomla core calendar feature, so it is correct. It adds a javascript event onDomReady.
You don't have to worry about adding MooTools to your template, because Contact Enhanced will tell Joomla to load it.

PS: You have a warning on your site exposing the entire path to the root directory, which you should fix it. (Not related to Contact Enhanced);

Best regards,

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

13 years 5 months ago #4383 by herman1
Hi again Doug.

We've purchased the latest version of the component. However, we are still having an issue with the calendar. I understand that our theme does not use MooTools, but the code for the calendar button doesn't seem to make any js calls at all:
<img id="cf_9[0]_img" alt="calendar" src="/templates/system/images/calendar.png" class="calendar">

How do I make this pop up the calendar properly? This is the last problem we need to solve.

Thanks!

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

13 years 5 months ago #4384 by douglas
Dear herman1,

The Joomla Calendar Script actually adds an "onclick" behavior to the image using MooTools, therefore you don't see any inline javascript, but I guarantee you that it does use MooTools and calls a javascript function when you click on it;

You can view the page source and search for "Calendar". You should be able to see some lines of code for the calendar;

The calendar requires MooTools in order to work properly, so you have to enable it in your template, if it is not;

Best regards,

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

13 years 5 months ago #4385 by herman1
Thanks again for your help Douglas,

However the problem still persists. MooTools in loaded. The Calendar code is in place. But I am still getting the error "calendar is not defined".

This is becoming incredibly frustrating. What else can I try? or, is there a way to simply remove the calendar icon and use the date range without it?

Thanks again. For reference, the page is joomla.eyeinsky.ca/contact-us/book-a-custom-flight.html

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

13 years 5 months ago #4386 by douglas
Dear herman1,

I'm sorry for the frustration, however I just want to be clear that it is not Contact Enhanced's fault.

Your template is loading it's own MooTools version instead of using the one used in Joomla, which is the one it should load. I'm not sure why, but it is also not loading the Calendar javascript file:
joomla.eyeinsky.ca/media/system/js/calendar.js

You can hide the calendar if you want by adding the line below to the CSS file joomla.eyeinsky.ca/components/...hanced/assets/css/validate.css :
.calendar{display:none !important}


Have a great weekend,

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