Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • canadawatch Friend
    #121072

    If anyone knows how to disable the category tab button links in JA_News, please help me figure out the way. These buttons take me to the Blog layout. My top menu duplicates them but take me to the List layout – this is what I want.

    See it at: http://canadawatch.org

    The illustration of a JA_News tab button is attached (Please see picture). This is the one that I want to disable as a link.

    Thank you for your time and help.


    1. tab_button
    Khanh Le Moderator
    #222774

    Currently, this module does not support option to disable the link on category title. However, you could disable this feature by editing file module/mod_janews.php.

    Search this code:


    echo "<a href="$link" class="ja-newscat" title="".trim(htmlentities($rows[0]->catdesc, ENT_QUOTES, $current_charset)).""><span>{$rows[0]->cattitle}</span></a>n";

    And replace with


    echo "<span>{$rows[0]->cattitle}</span>n";

    Hieu Nguyen Admin
    #222775

    Open file: modules/mod_janews.php and find this line:
    [PHP]
    echo “<a href=”$link” class=”ja-newscat” title=””.trim(htmlentities($rows[0]->catdesc, ENT_QUOTES, $current_charset)).””><span>{$rows[0]->cattitle}</span></a>n”;
    [/PHP]
    Remove it.

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

This topic contains 3 replies, has 3 voices, and was last updated by  Hieu Nguyen 17 years, 5 months ago.

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