Read more - possible to set specific link?

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
Fri Aug 30, 2013 6:59 am
Hi there

I use News Show GK4 (normal mode) on a Joomla 2.5 site
(-> http://wp10595762.server-he.de/www/its.sh.chv2/).

Now I was wondering, if it's possible to set a specific link while clicking on "read more" (or the title). As default, when I click on the title or on readmore, it just shows the specific article. But since I have a news page with all the news I have to link to the news-page (-> http://wp10595762.server-he.de/www/its. ... php/medien).

The crux is: This is correct for maybe 95% of the news messages. For the other 5%, there's the need to link to another site (events for example [-> http://wp10595762.server-he.de/www/its. ... staltungen]). Is it possible or must I hardcode it and look for another solution for this 5%?

Thanks very much for your help and kind regards,
emarbee
User avatar
Senior Boarder

GK User
Fri Aug 30, 2013 8:26 am
Sorry but there is no way to change read more link, the button URL is generated automatically and it always redirect to article page.
User avatar
Platinum Boarder

GK User
Fri Aug 30, 2013 8:44 am
OK thanks for your reply. Is there a workaround so I can at least set a static link to the news page instead of the automatically generated readon link?
User avatar
Senior Boarder

GK User
Fri Aug 30, 2013 10:12 am
The whole content in News Show Pro is generated automatically, maybe you should try to use JSON or XML file as a data source where you can specify the URL.
User avatar
Platinum Boarder

GK User
Fri Aug 30, 2013 1:04 pm
ok i checked it once again - don't know why i couldn't find it before...

for others having the same issue, i solved it by myself now with this override:
in file modules/mod_news_pro_gk4/tmpl/layout.parts.php i changed on line 133 the following from

Code: Select all
return '<a class="readon '.$class.'" href="'.$link.'">'.JText::_('MOD_NEWS_PRO_GK4_NSP_READMORE').'</a>';

to
Code: Select all
return '<a class="readon '.$class.'" href="medien">'.JText::_('MOD_NEWS_PRO_GK4_NSP_READMORE').'</a>';


and now it works like i wanted to have it!
User avatar
Senior Boarder

GK User
Mon Sep 02, 2013 10:04 am
Yes but this change will affect to all News Show Pro modules and for every link so it is good solution until you don't need another NSP module working in regular way :)
User avatar
Platinum Boarder


cron