Page 1 of 1

News module configurations?

Posted: Thu Aug 11, 2005 8:29 am
by gnolen
Hi there,

I am building a site that needs to have the news headlines on everypage. And if people are clicking on any news I want to list all of news written..I know I did this with the old news module but how do I do it now?

First I thought - easy just have {foreach from=$items item=entry} the rest of the detail template {/foreach} but this does not work...

Any suggestions please?

Thanks! / Gnolen

Re: News module configurations?

Posted: Mon Aug 15, 2005 8:18 pm
by gnolen
Nobody know how to have all of the news on one page?

There MUST be a way..worked with the old one!

Thanks / Gnolen

Re: News module configurations?

Posted: Wed Aug 17, 2005 8:55 am
by Alex_Leipzig
Couldn't you just make an empty page with the simple news module tag {cms_module module="News"}?
Or choose "News" as content type when making a page?

Re: News module configurations?

Posted: Mon Aug 22, 2005 3:21 pm
by gnolen
Alex,

But still all of the news will not be displayed.

Wishy - is this not possible? To have news headers somewhere and then display all of the news(full article) on a page? Sounds pretty normal to me..? Or?

Greetings / Gnolen

Re: News module configurations?

Posted: Mon Aug 22, 2005 3:47 pm
by Ted
You could do it with 2 different templates.  Use the original summary template for displaying just the headers.  And then make a new template (in modules/News/templates) called blahtemplate.tpl and put summarytemplate="blahtemplate" in the cms_module tag.

Does that make ANY sense?  I'm kind of preoccupied today.

Re: News module configurations?

Posted: Mon Aug 22, 2005 4:10 pm
by gnolen
Thanks Wishy and sorry for taking on your time.

This make sense and I been thinking about this to but I do not know how to get the original summary templete(the headers) to point to template I made..?

Thanks / Gnolen

Re: News module configurations?

Posted: Wed Aug 24, 2005 9:23 am
by gnolen
Please, doesn't anyone know how to do this??? It is the only thing left on the site I am making... :(

Re: News module configurations?

Posted: Wed Aug 24, 2005 10:19 am
by Ted
{cms_module module='news' summarytemplate='mynewtemplate'}, where mynewtemplate.tpl is in modules/News/templates

Re: News module configurations?

Posted: Wed Aug 24, 2005 10:51 am
by gnolen
Thanks Wishy,

That is not the problem. To make a template. Because if I have headlines and click on them I get directed to the detail page and there I want to list all of the news. Like you have on cmsmadesimple.org with the archive but the archive should also be showed when I click on the title on the indexpage.

Isn't that just a normal news layout?

Re: News module configurations?

Posted: Sun Sep 11, 2005 11:16 am
by gnolen
Thanks Patricia! Sorry for the late replay but the forumnotifications are not working sometimes for me.

But how about having the news titles in the startingpage and then when I click I will come to the the detailpage(which have a different CMS template) I tried to create a news-page but this doesn't help me getting there...

Anyone know what to do?

Thanks / gnolen