Show all news in an overview?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Theezer

Show all news in an overview?

Post 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..  :)
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Show all news in an overview?

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

Re: Show all news in an overview?

Post 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!
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Show all news in an overview?

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

Re: Show all news in an overview?

Post 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
Foton
Forum Members
Forum Members
Posts: 32
Joined: Fri May 05, 2006 10:41 pm

Re: Show all news in an overview?

Post 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?
Foton
Forum Members
Forum Members
Posts: 32
Joined: Fri May 05, 2006 10:41 pm

Re: Show all news in an overview?

Post by Foton »

Found it! Just go to; /modules/news/lang/en_US.php and translate it there.....
Easy, isn't it?
Locked

Return to “Layout and Design (CSS & HTML)”