Page 1 of 1
change the Return text in News
Posted: Thu Jan 29, 2009 10:35 am
by SIMONdesign.nl
I can't escape the feeling that this is a stupid question, but I'll ask it anyway...
I know I can change the moretext in the newsmodule (moretext="YOURTEXT") but is it also possible to change the return-text?
Hope I get help...

Re: change the Return text in News
Posted: Thu Jan 29, 2009 10:56 am
by Rolf
Hey Simon
You could change the article-template from:
Code: Select all
<div id="NewsPostDetailReturnLink">{$return_url}</div>
to
Code: Select all
<div id="NewsPostDetailReturnLink">Your text...</div>
®olf

Re: change the Return text in News
Posted: Thu Jan 29, 2009 11:06 am
by SIMONdesign.nl
Bedankt voor je snelle reactie Rolf!
Als je uit Assen komt kan ik denk ik wel in het nederlands bedanken
Het punt is alleen dat met jouw optie het geen link wordt... Een oplossing zou zijn om een javascript history te gebruiken maar dat heeft ook niet altijd de gewenste resultaten (als iemand vanaf google op je site komt zal die link de bezoeker weer van de site halen.
-- translation --
Changing the content of the div results in plain text - not a link. Another option would be to use a javascript history, but I prefer the cmsms way.. Anyone have an idea?
Re: change the Return text in News
Posted: Thu Jan 29, 2009 12:09 pm
by SIMONdesign.nl
AArgh this is to easy...(it must be the flu) just change the language to nl_NL
Ok, ok laugh at it...

Re: change the Return text in News
Posted: Thu Jan 29, 2009 1:09 pm
by Rolf
Het punt is alleen dat met jouw optie het geen link wordt
Ohh yeah, shoot. A little bit to quick... :-\
Have to look longer the next time
The right way should be this:
Code: Select all
<div id="NewsPostDetailReturnLink">
<a href="{$return_url}">Your text</a>
</div>
Didn't test it either...

But it is also used, if you want to have a picture as a button.
Changing the language file has as problem, when you upgrade you have to change the text again.
Groet uit (omg.) Assen

Rolf
Re: change the Return text in News
Posted: Thu Jan 29, 2009 1:46 pm
by Rolf
Humm, just tested it to be shure...
And it doesn't work either.
I'm shure I've seen something similar on the forum passing by once...
®
Re: change the Return text in News
Posted: Thu Jan 29, 2009 2:04 pm
by Rolf
Searched the forum just now...
Can't find a better solution then changing the language file like you already did.
Check this one:
http://forum.cmsmadesimple.org/index.ph ... 652.0.html
®
