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 / Categories variables

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

Categories variables

More
7 years 10 months ago #25623 by fonsi
Categories variables was created by fonsi
How to use category and sub-category variable name?

This one show last category where ad is showed
> $category->name

How can i get the name of the other categories ?
More
7 years 10 months ago #25644 by loic
Replied by loic on topic Categories variables
Hello,

I need more details to help you.
On which page do you want to display that ?
What are you trying to do exactly ?

Best regards.
More
7 years 10 months ago #25668 by fonsi
Replied by fonsi on topic Categories variables
My ideia is to show that on title tag on ads detail view
More
7 years 10 months ago #25678 by loic
Replied by loic on topic Categories variables
Hello,

The breadcrumb at the beginning of a details page can help you do that :
$pathway ="";
	$nb = count($this->pathlist);
	for ($i = $nb - 1 ; $i >0;$i--)
	{
		$pathway .= ' / <a href="'.$this->pathlist[$i]->link.'">'.$this->pathlist[$i]->text.'</a>';
		$pathway .= ' <span class="divider"><img alt="" src="'.JURI::base().'/media/system/images/arrow.png"></span> ';
	}
	$pathway .= ' / <a href="'.$this->pathlist[0]->link.'">'.$this->pathlist[0]->text.'</a>';

Best regards.
Moderators: perry
Time to create page: 0.141 seconds
Powered by Kunena Forum