Hi all,
I am using CMSMS 1.6.4 and News 2.10.2
I'm really stuck. I can't find where to change the text of the $return_url in the detail template of the News module. I actually want to change the text to say "Return to news items" and I want to style a box around it too.
Can this be done? If so, how? Please help I would appreciate any help!!
Thanks, Karl
[solved] NEWS MODULE - Change text of "return" url?
-
beherenow_uk
- Forum Members

- Posts: 103
- Joined: Fri Nov 28, 2008 11:26 am
[solved] NEWS MODULE - Change text of "return" url?
Last edited by beherenow_uk on Thu Sep 03, 2009 3:18 pm, edited 1 time in total.
-
Jean le Chauve
Re: NEWS MODULE - Change text of "return" url?
line 141 of News/lang/en_US.php
Stylize with css
span.return {border:solid #CCC 1px;}
Code: Select all
$lang['news_return'] = '<span class=\"return\">Return to news items</span>';span.return {border:solid #CCC 1px;}
-
beherenow_uk
- Forum Members

- Posts: 103
- Joined: Fri Nov 28, 2008 11:26 am
Re: NEWS MODULE - Change text of "return" url?
That is wonderful! Thank you sooo much!!
I would have never have known that without your post.
Thanks again - you saved my bacon!
I would have never have known that without your post.
Thanks again - you saved my bacon!
- chuccaville
- Forum Members

- Posts: 12
- Joined: Thu Sep 03, 2009 6:35 pm
Re: [solved] NEWS MODULE - Change text of "return" url?
Jean, nice! I just started with CMSMS last night.
Ten minutes ago, I stumbled over the same issue as Karl.
This forum is impressive!

Ten minutes ago, I stumbled over the same issue as Karl.
This forum is impressive!
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: [solved] NEWS MODULE - Change text of "return" url?
a) do a search for module_custom
(or check out my blog)... that way you don't have to modify core files.
b) remind me to fix this for 1.7
it should just be a url that the template then makes a link out of.
(or check out my blog)... that way you don't have to modify core files.
b) remind me to fix this for 1.7
it should just be a url that the template then makes a link out of.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: [solved] NEWS MODULE - Change text of "return" url?
You should start taking a note of these things somewhere safe.
I don't know what impact a fix of Calguy's would have, but in the normal course of events, an upgrade would wipe out that customization.
I don't know what impact a fix of Calguy's would have, but in the normal course of events, an upgrade would wipe out that customization.
