Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • jmk Friend
    #161189

    Hi,

    Is it possbile tot lose the “ALL” tab in JA News Pro?

    Group By Sub Category yes
    Theme Selection linear

    Now you have

    ALL CAT1 CAT2 CAT3 CAT4

    I want to drop the “ALL” and show only

    CAT1 CAT2 CAT3 CAT4

    I hope someone can tell me.

    Thx,

    Joep

    Saguaros Moderator
    #380437

    You open the file: modulesmod_janewsprotmpllinearblog.php and remove the following code;

    [PHP]
    <li class=”active”>
    <a href=”<?php echo $helper->cat_link[$secid]?>” onclick=”return false” rel=”<?php echo $secid?>” class=”subcat-title” title=”<?php echo trim(strip_tags($helper->cat_desc[$secid]));?>”>
    <span><?php echo JText::_(‘All’)?></span>
    </a>
    <a href=”<?php echo $helper->cat_link[$secid]?>” class=”subcat-more”><span><?php echo JText::_(‘More’)?></span></a>
    </li>
    [/PHP]

    But, i recommend you should not make this customization, because as default, the module display the list of articles in all categories and when you clicked a category, you will have not the “All” link to roll back to the original.

    Thanks

    jmk Friend
    #380495

    Thx,

    I give it a try and see of it works for my.

    jmk Friend
    #380736

    This is not exact what I mean. I want that the module beginning at CAT 1 and don’t show the ‘ALL’ at all.

    I hope you understand what i mean.

    Thx

    Saguaros Moderator
    #380836

    The module does not support specifying a category as default, now the module only works with this logic:
    1) get list of articles from all categories of a section
    2) when click to the Category Lab, a ajax request is called to get this category s’ articles.

    jmk Friend
    #381131

    Oke thx,

    Then I have to look for a other way to solved this. Thx for the support.

    Joep

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

This topic contains 6 replies, has 2 voices, and was last updated by  jmk 13 years, 8 months ago.

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