Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / contact field with two columns

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

contact field with two columns

More
11 years 8 months ago - 11 years 7 months ago #621 by snikor
contact field with two columns was created by snikor
How can make contact field to display contact information in two column?
Something like :

Attachments:
Last edit: 11 years 7 months ago by snikor.
More
11 years 7 months ago - 11 years 7 months ago #630 by Ads4ever
Replied by Ads4ever on topic contact field with two columns
Hello,

In file :
ROOT_PATH/components/com_adsmanager/views/details/tmpl/default.php

You should restructure the div of contact and convert it to be a table, you can find the div of contact from Line 201 to 228 :

<div class="adsmanager_ads_contact">
			<?php $strtitle = "";if (@$this->positions[4]->title) {$strtitle = JText::_($this->positions[4]->title);} ?>
			<?php echo "<h2>".@$strtitle."</h2>"; 
			if (($this->userid != 0)||($conf->show_contact == 0)) {		
				if (isset($this->fDisplay[5]))
				{		
					foreach($this->fDisplay[5] as $field)
					{	
						$c = $this->field->showFieldValue($this->content,$field); 
						if ($c != "") {
							$title = $this->field->showFieldTitle(@$this->content->catid,$field);
							if ($title != "")
								echo "<b>".htmlspecialchars($title)."</b>: ";
							echo "$c<br/>";
						}
					} 
				}
				if (($this->content->userid != 0)&&($conf->allow_contact_by_pms == 1))
				{
					echo TLink::getPMSLink($this->content);
				}
			}
			else
			{
				echo JText::_('ADSMANAGER_CONTACT_NOT_LOGGED');
			}
			?>
			</div>

Founder of ITechnoDev
Last edit: 11 years 7 months ago by Ads4ever.
The following user(s) said Thank You: hermes13
Moderators: perry
Time to create page: 0.141 seconds
Powered by Kunena Forum