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 / Support / AdsManager Support / Hide Categories in the Content List view

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.

Hide Categories in the Content List view

More
11 years 11 months ago #8027 by aost
Hello,

when I create a menu link of type Content List, appears on the top of the page always displays all categories. Where can I hide?

Best Regards

Andi

Sorry, my english is not very good, so I use Google to translate - so it may sound a bit strange :-)
The following user(s) said Thank You: adarr
More
11 years 11 months ago #8042 by loic
Replied by loic on topic Hide Categories in the Content List view
Hello,

You need to create an override of the list view and delete the categories directly in the code.

Here is a link to help you :
www.joomprod.com/documentation/doc-view-override.html

Best regards.
The following user(s) said Thank You: adarr
More
11 years 11 months ago #8193 by acouto
Replied by acouto on topic Hide Categories in the Content List view
But what code we need delete?
The following user(s) said Thank You: adarr
More
11 years 11 months ago #8206 by loic
Replied by loic on topic Hide Categories in the Content List view
Hello,

you need to override the view 'components/com_adsmanager/views/list/default.php'.

To remove the categories, delete the lines 66 to 76:
<div class="row-fluid">
    <div class="span12">
<?php foreach($this->subcats as $key => $subcat) {
	$subcat->link = TRoute::_('index.php?option=com_adsmanager&view=list&catid='.$subcat->id);
	if ($key != 0)
		echo ' | ';
	echo '<a href="'.$subcat->link.'">'.$subcat->name.'</a>';
} 
?>
</div>
</div>

I hope this will help you :).

Best regards.
The following user(s) said Thank You: acouto, adarr
Time to create page: 0.218 seconds
Powered by Kunena Forum