The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Hi,
How do I remove the categories listing from the frontpage?
Thanks.
Offline
Edit templates/your-template/frontpage.tpl.php. This is the code that displays on the left side:
<div id="left" class="width-200">
<div class="content-box">
<h4><?php echo __('CATEGORIES'); ?></h4>
<div class="content">
<?php echo p('categories', $this->categories); ?>
</div>
</div>
<?php echo w('link_left'); ?>
<?php echo p('adv', 'frontpage-left'); ?>
</div>
If you want to remove the categories only but still keep the right side, remove the following lines:
<div class="content-box">
<h4><?php echo __('CATEGORIES'); ?></h4>
<div class="content">
<?php echo p('categories', $this->categories); ?>
</div>
</div>
If you want to remove the left side completly (please note this means you will have to change the right side also), you need
to remove the entire code (the code that comes first in this post).
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Thanks!, that worked perfectly.
Offline
What do you mean by "If you want to remove the categories only but still keep the right side" What do you mean by "right side"? And is this category for videos only, or both video and photo categories? I want to remove video categories an keep photo categories. Would removing the lines above help?
Offline
Right side is the right side of the frontpage, basically there are 2 boxes on the frontpage, one on the left side with the categories/ads and one the right side with being watch and recent videos. I do not know exactly what you want to do, however i replied to your other post how you can modify the frontpage to display the photo categories and the photo albums. Let me know if that helps.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1