-
AuthorPosts
-
March 8, 2011 at 11:21 pm #161189
Hi,
Is it possbile tot lose the “ALL” tab in JA News Pro?
Group By Sub Category yes
Theme Selection linearNow 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 9, 2011 at 4:56 am #380437You 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
1 user says Thank You to Saguaros for this useful post
March 9, 2011 at 10:00 am #380495Thx,
I give it a try and see of it works for my.
March 10, 2011 at 1:32 pm #380736This 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 11, 2011 at 2:51 am #380836The 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. -
AuthorPosts
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