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

Form width problem

5 years 1 month ago #24851 by SARL
Hello. I have a website that is no longer updated by the company that created me. The site was under Joomla 2.5 and I managed to upgrade it to 3.9. I bought Contact Enhanced in order to have the module updated but I am facing a problem.
The module works well, but if I enter the contact settings, the column widths of my forms are not at all correct.

- Here is an example before modifying a parameter (all is ok):






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

5 years 1 month ago #24852 by SARL
- And here is the result if I modify a parameter in the contact:








I have not found any options to correct this problem. Can you help me ?
Thanks in advance

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

5 years 1 month ago #24853 by support
Dear Sarl,

Thank you for contacting us today.

This seems to be a very customized Contact Enhanced Form, because the default layout is the field label above the field input.

Can you please provide a direct link to the form, so we can take a look? We don't usually provide support for customizations, but we can take a quick look for you.

Best regards,

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

5 years 1 month ago #24854 by SARL
Hello. I did not see your answer. thank you for your comeback
I searched for myself and found a solution. I do not know if it's the right one, but it works and the result is there ... I modified the lines of the default_form.php file like this:
OLD
<div class="contact-sidebar" 
		style="width:<?php echo ($this->params->get('sidebar_width',40)); ?>%;float:<?php echo $this->params->get('show_sidebar','right'); ?>">
		<?php  echo $this->loadTemplate('sidebar');  ?>
	</div>
 
<div class="ce-form-contact" style="width:<?php echo $formWidth; ?>%;float:<?php 
		echo ($this->params->get('show_sidebar','right') == 'left' ? 'right' : 'left'); ?>">
	<div class="contact-form">
		<?php echo ceHelper::loadForm($this); ?>
	</div>
</div>

NEW
<div class="contact-sidebar" 
		style="width:50%;float:<?php echo $this->params->get('show_sidebar','right'); ?>">
		<?php  echo $this->loadTemplate('sidebar');  ?>
	</div>
 
<div class="ce-form-contact" style="width:49%;float:<?php 
		echo ($this->params->get('show_sidebar','right') == 'left' ? 'right' : 'left'); ?>">
	<div class="contact-form">
		<?php echo ceHelper::loadForm($this); ?>
	</div>
</div>

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

5 years 1 month ago #24855 by support
Dear Sarl,

I'm glad you found a solution that works for you.

Have a great week.

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