change the Return text in News

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
SIMONdesign.nl
Forum Members
Forum Members
Posts: 28
Joined: Tue Nov 21, 2006 8:02 am

change the Return text in News

Post 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... ;)
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: change the Return text in News

Post 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  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
SIMONdesign.nl
Forum Members
Forum Members
Posts: 28
Joined: Tue Nov 21, 2006 8:02 am

Re: change the Return text in News

Post by SIMONdesign.nl »

Bedankt voor je snelle reactie Rolf!

Als je uit Assen komt kan ik denk ik wel in het nederlands bedanken :D

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?
Last edited by SIMONdesign.nl on Thu Jan 29, 2009 11:56 am, edited 1 time in total.
SIMONdesign.nl
Forum Members
Forum Members
Posts: 28
Joined: Tue Nov 21, 2006 8:02 am

Re: change the Return text in News

Post 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... ::)
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: change the Return text in News

Post 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...  :P 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

;D Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: change the Return text in News

Post 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...

®
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: change the Return text in News

Post 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

®  :D
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”