Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Andrew Winkler Friend
    #202899

    I would like to stop the category list from being displayed at the bottom of the blog layout/view sorted by most read articles. The list is just too long, but I still want users to be able to go to other pages in that list.

    http://therebel.org/en/most-hits

    chavan Friend
    #555857

    you got 2 ways to achieve this, choose

    1. Go to this File: /templates/ja_university_t3/html/com_content/category/blog.php

    Find this code and replace it
    [PHP]
    <?php if (!empty($this->children[$this->category->id])&& $this->maxLevel != 0) : ?>
    <div class=”cat-children”>
    <?php if ($this->params->get(‘show_category_heading_title_text’, 1) == 1) : ?>
    <h3> <?php echo JTEXT::_(‘JGLOBAL_SUBCATEGORIES’); ?> </h3>
    <?php endif; ?>
    <?php echo $this->loadTemplate(‘children’); ?> </div>
    <?php endif; ?>
    [/PHP]

    with

    [PHP]
    <?php /*?><?php if (!empty($this->children[$this->category->id])&& $this->maxLevel != 0) : ?>
    <div class=”cat-children”>
    <?php if ($this->params->get(‘show_category_heading_title_text’, 1) == 1) : ?>
    <h3> <?php echo JTEXT::_(‘JGLOBAL_SUBCATEGORIES’); ?> </h3>
    <?php endif; ?>
    <?php echo $this->loadTemplate(‘children’); ?> </div>
    <?php endif; ?><?php */?>
    [/PHP]

    or

    2. From your menu item expand the category options positions on the right side and change the subcategory level to ‘None’

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  chavan 10 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum