-
AuthorPosts
-
June 27, 2007 at 2:46 am #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.
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
June 27, 2007 at 3:10 am #222774Currently, 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 AdminHieu Nguyen
- Join date:
- November 2005
- Posts:
- 678
- Downloads:
- 36
- Uploads:
- 0
- Thanks:
- 69
- Thanked:
- 61 times in 1 posts
June 27, 2007 at 3:10 am #222775Open 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.AuthorPostsViewing 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
I need to disable the tab button links in JA_News
Viewing 3 posts - 1 through 3 (of 3 total)