Adult Script Pro Community Forums

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.

#1 2011-02-13 19:38:01

porntutor.com
Member
Registered: 2011-02-13
Posts: 10
Website

Removing categories from the front page?

Hi,

How do I remove the categories listing from the frontpage?

Thanks.

Offline

#2 2011-02-13 19:54:45

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Removing categories from the front page?

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

#3 2011-02-13 23:22:02

porntutor.com
Member
Registered: 2011-02-13
Posts: 10
Website

Re: Removing categories from the front page?

Thanks!, that worked perfectly.

Offline

#4 2011-03-10 04:19:34

jupita
Member
Registered: 2011-03-05
Posts: 23

Re: Removing categories from the front page?

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

#5 2011-03-10 08:21:44

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Removing categories from the front page?

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

Board footer

Powered by FluxBB