Read more button: Showing category list instead of single article?

Free responsive Joomla 2.5 and 3.x module to present your content with easy and intuitive way.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Jun 13, 2011 11:38 am
Hi,

I need to have 2 modules News Show Pro GK4 on the homepage showing articles from 2 different categories. Once clicking on the Read more button they should redirect to a list of articles within the chosen category. Can you please tell me how to achieve this?

Is there something I should change on this line?


Code: Select all
$link = ($news_id !== 0) ? JRoute::_(ContentHelperRoute::getArticleRoute($news_id, $news_cid)) : JRoute::_('index.php?option=com_user&view=login');



Thank you
Paolo
User avatar
Fresh Boarder

GK User
Sat Jul 09, 2011 1:16 am
Exactly I have the same problem.
I have 6-8 copy gk4 modules on the frontpage. first module at the content top position hyperlinking to a page which is only avaliable for super administrators. how and why ? when I hit the article, frontpage just refreshes. but the url of the page changes to the below additional link.

And all other than the first mod.gk4 they are working perfectly

/index.php?option=com_user&view=login&return=aHR0cDovL3d3dy5zYWdsaWt2ZXlhc2FtZGVyZ2lzaS5jb20udHIvYW5hc2F5ZmEvbWFrYWxlLWhpdGxlcmkvMTQyNC1hc3RpbS1jYXJlc2l6bGlrLWRlZ2lsZG

www.saglikveyasamdergisi.com.tr

----
I had a submenu item, it was category list layout when I delete it. the problem is solved.
When ever I publish a category list layout, my first gk4 mod. is trying to link to that page but the others remains the same.
User avatar
Fresh Boarder

teitbite
Sun Jul 10, 2011 3:29 pm
Hi

This is a problem with menu structure. If You do not have an article connected with the some menu item than the article will display on a page where link was clicked (this is how joomla works). If You want to show it on frontpage You need to have "Show mainbody on frontpage" enabled in template parameters.
User avatar
Moderator


cron