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.

CSS: Selecting a particular container

14 years 3 weeks ago #2475 by timch
Hi,

basically I want to add this sort of code to my CSS:
/* Side-by-side fields */
#ac-cf-container-4 {
	float:left;
	background:red;
	}
#ac-cf-container5 {
	float:left;
	margin-left:35px
	}
#ac-cf-container6 {
	float:left;
	width:100%;
	}

but #ac-cf-container-4 doesn't seem to select that container. I've tried #ac-cf-container-4 .ac-cf-container and a few other combinations and I've had no luck.
Does anybody know what will select just one container?

Also, the email receipts seem to be coming from my default joomla email address, not the one I specified in the settings for Ajax Contact... Any ideas?

Thanks,

Tim.

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

14 years 3 weeks ago #2476 by douglas
Dear Tim,

in order to select on field container you have to add this css bellow where 1 is the field id:
#ac-cf-container-1{}
It seems to me that you want to add two columns for only two fields. Am I right?
You will have to add the same CSS to the two fields you want in the same row and make sure the field right bellow has clear:both; I've just tested the code bellow and it worked:
#ac-cf-container-1, 
#ac-cf-container-2{width:49%; float:left}
#ac-cf-container-3{clear:both; padding-top:10px}
This will select all containers:
.ac-cf-container {float:left; width:49%;}

You might have to edit the css classes bellow as well:
#ajaxcontact input.inputbox{width:95%}
#ajaxcontact select.inputbox{width:95%}
#ajaxcontact textarea.inputbox{width:95%;overflow:auto}

Regarding the second problem, I've just looked at teh code and it shold be working correctly. Can you provide an administrator account so I can take a look in your Module Parameters?

If you have any further question, please do not hesitate to ask.

Kind regards,

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

14 years 3 weeks ago #2477 by timch
Thank you very much! I didn't realise it was as simple as leaving out the dash :P
And thanks for the examples they are very helpful.

I'll email you with a backend login so you can check it out.

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

14 years 3 weeks ago #2480 by douglas
Dear Tim,

I'm glad you got the CSS to work! ;-)

I now understand what the other problem is.

I've created the Sender email option because some mail servers would not accept the sender email to be sent from another domain, but this is only valid to send the email to the contact and not the copy to the user. In this case it will always use the admin email.

If you want to change that you can follow these instructions:
1- Open [Joomla]/modules/mod_ajax_contact/ajax.php
2- Find this line:
$MailFrom 	= $mainframe->getCfg('mailfrom');
3- And change for this:
$MailFrom 	= $params->get( 'senderemail', $mainframe->getCfg('mailfrom') );

If you have any other question, please do not hesitate to ask.

Kind regards,

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