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

Order of fields

13 years 10 months ago #3056 by assetdis
Can you change the order of the fields? For example I'd prefer to have the email address field down by the web address. It looks a little strange above the contact numbers.

Cheers
Pete

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

13 years 10 months ago #3057 by douglas
Dear Pete,

Yes, you can change the order of any field. This is one of the basic features of the Custom fields, which you can see in this screencast:
ideal.fok.com.br/joomla-extens...-fields/78-basic-features.html

Best regards,

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

13 years 10 months ago - 13 years 10 months ago #3059 by assetdis
Thanks Douglas for your reply. Unfortunately that's for forms. What I'm talking about is displaying the contact details for a listing. tiger.directrouter.co.uk/~asse...ed&view=contact&id=1&Itemid=26

You can see via that link - the email address shows above the contact numbers. Can I do something with the custom fields to change this? Or is the custom fields only for forms?

Or do I have to edit the code in the controller.php or somewhere else?

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

13 years 10 months ago #3060 by douglas
Dear Pete,

The ordering is just for the Custom Fields, however you can manually change the order.
Open [Joomla]/components/com_contact_enhanced/views/contact/tmpl/default_address.php
Cut these lines:
<?php if ( $this->contact->email_to && $this->contact->params->get( 'show_email' ) ) : 
	$style= 'style="background: url('.$this->contact->params->get( 'marker_email' ).') no-repeat"';
	?>
	<li <?php echo $style; ?> >
		<?php echo $this->contact->email_to; ?>
	</li>
<?php endif; ?>

And paste after these ones:
<?php if ( $this->contact->webpage && $this->contact->params->get( 'show_webpage' )) : ?>
	<li>
		<a href="<?php echo $this->contact->webpage; ?>" target="_blank">
			<?php echo $this->contact->webpage; ?></a>
	</li>
<?php endif; ?>

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

Best 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