Page 1 of 1

Show all news in an overview?

Posted: Fri Apr 07, 2006 11:21 am
by Theezer
Hi all,

i recently installed cmsms and it works like a charm! Very lovelly.. But I ran into some 'problems' while customizing a few things.

1. My homepage is created in 'content type' -> 'Content'. In there, i've inserted the following tag: {cms_module module="news" number="4" category="" moretext="Read more..." dateformat="%d %b %Y" }
I inserted this tag through editing my home page, and then using the 'code' button on the top left of FCK editor. This works, but when I know edit my homepage using the wysiwyg-editor (fck), I see that line.. It's not a real big problem, but I have also people editing that page who don't know where that line is coming from and who might delete that line in the future.. That's ofcourse not what I want.. Is there any way to hide this line?

2. My second 'problem' has also something to do with the news.. I've looked everywhere (so I think) for it, but I can't seem to find a possibility or link to a page which provides a news overview (all the articles added so far)..

Can anyone help me with my 'problems'? Thanks in advance! Hope everyone understands what I've been trying to tell here..  :)

Re: Show all news in an overview?

Posted: Fri Apr 07, 2006 11:40 am
by tsw
1.)

you could create new template for frontpage which would have news where you want it

or create new userdefined tag which inludes news and name it something like "dont touch this if you dont know what you are doing" ;)

2.)

Create new page with type "news", name "newslist" and tick off show in menu (if you dont want it in your menu) then you can access the list with that page alias like http://yoursite.com/index.php?page=newslist

Re: Show all news in an overview?

Posted: Fri Apr 07, 2006 12:03 pm
by Theezer
Thanks! Two problems solved already! And because of your quick support, I'll keep on asking..  ;)

Do you perhaps also know how to change the 'return_url' ({$return_url}) at the bottom of the 'Detailed news' page?

Thanks again!

Re: Show all news in an overview?

Posted: Fri Apr 07, 2006 1:40 pm
by tsw
change the 'return_url' ({$return_url})
Im guessing you want it to point to that newslist page you created?
in that case just change that line to something like

Code: Select all

<div id="NewsPostDetailReturnLink"><a href="http://yoursite.com/index.php?page=newslist" title="All the news here">return to list</a>)</div>

Re: Show all news in an overview?

Posted: Fri Apr 07, 2006 5:03 pm
by Theezer
Actually, no.. I'm sorry, but when I read my post again I see that I wasn't being very clear.. What I really meant was that I didn't actually want to change the url (isn't this url begin generated automatically? Isn't it the page which the visitor last visited?).. What I wanted to change is the text of the link, instead of 'Return' I want it to say 'Ga terug' (=Dutch). The url itself can stay how it is..

Thanks again for your help!

Thijs

Re: Show all news in an overview?

Posted: Sat May 20, 2006 8:59 am
by Foton
Same here. I also want to change the text "Return" to "Terug naar overzicht" But I still cannot find the place where to change this. Anyone found it?

Re: Show all news in an overview?

Posted: Sat May 20, 2006 9:12 am
by Foton
Found it! Just go to; /modules/news/lang/en_US.php and translate it there.....
Easy, isn't it?