-
AuthorPosts
-
November 17, 2008 at 9:44 pm #135443
Hi,
I have a queation about the ja news module. When we use the ja news module, section (or category) headers are linked to last news at front page. However, my question is tolink them to that sections or categories of the blog layout.How can I do this ?
Thanks
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
December 4, 2008 at 7:06 am #281227Hi eserdark !
You can do it following way below :
Open mod_janews.php file in modulesmod_janews folder, find following code section at about line 213 :
$link = ContentHelperRoute::getArticleRoute($rows[0]->slug, $rows[0]->catslug, $rows[0]->sectionid);
change to :
$link = JRoute::_(ContentHelperRoute::getCategoryRoute($rows[0]->catslug, $rows[0]->sectionid));
December 4, 2008 at 8:46 am #281248hi hainn84,
Thanks fo for help.Probable you give me hint for 1.0 version of joomla. My site is 1,5 version.
Can you give me the way of doing this in the 1,5 version ?
Thanks a lot.
December 4, 2008 at 9:11 am #281250Hi hainn84,
excuse me ! Your explanation was in 1,5 version, I misunderstood.I have changed that line but I could success..
İs there any other thing to do ?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
December 5, 2008 at 4:01 am #281338Hi eserdark !
Have you tried it and it not working for you ?
December 5, 2008 at 8:18 am #281374Yes I have changed that line. But it is not working in my wishes. Category headers are still linked to last news at front page. But I want link them to blog layout as in the theme demo page.
Thanks..
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
December 8, 2008 at 8:48 am #281731Hi eserdark !
If you want titles of ja news link to category with type is “blog” , you need must create menus link to sections what stores categories enter in ja news module with type is “section blog layout”.December 18, 2008 at 8:11 am #283325Now final case is that. The titles of news are going to blog layout of this category. But I want to link only category title to the blog layout of this category. How can I do it ? If you want the url is http://www.bes.org.tr..
Thanks
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by eserdark 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum