Howto display news on a page using news module?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
magicpio
Forum Members
Forum Members
Posts: 30
Joined: Mon Dec 05, 2005 7:54 pm

Howto display news on a page using news module?

Post by magicpio »

Hi!

really dumb question:
How do I display news on a page using the news module?
I´m missing something.

I´ve activated the news module in CMSMS 0.13, created 3 categories, added one
news entry to each category, made a new page "News" containing the following:

Section "General" {cms_module module="news" start="" number="5" category="General" makerssbutton="true"}
Section "test1" {cms_module module="news" start="" number="5" category="test1" makerssbutton="true"}
Section "test2" {cms_module module="news" start="" number="5" category="test2" makerssbutton="true"}

I can feed my news into Thunderbird, but it won´t show on my own page ???

I guess I have to use the templates that come with the news module, but how?

Thanks for help.
Pio
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm
Location: behind my desk

Re: Howto display news on a page using news module?

Post by petert »

magicpio wrote: Section "General" {cms_module module="news" start="" number="5" category="General" makerssbutton="true"}
Section "test1" {cms_module module="news" start="" number="5" category="test1" makerssbutton="true"}
Section "test2" {cms_module module="news" start="" number="5" category="test2" makerssbutton="true"}

I can feed my news into Thunderbird, but it won´t show on my own page ???
you only made three rss links
I guess I have to use the templates that come with the news module, but how?
In order for the news to show up you will have to tell cmsms to display it.

Code: Select all

{cms_module module="news" start="" number="5" category="test2" }
(note the absence of 'makerssbutton="true"')

hth
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
magicpio
Forum Members
Forum Members
Posts: 30
Joined: Mon Dec 05, 2005 7:54 pm

Re: Howto display news on a page using news module?

Post by magicpio »

Aaaaaaarrrrrgggghhhhhhhh ........................
Thanks!

Update: No, still doesn´t work.
Now I have:

Section "General" {cms_module module="news" start="" number="5" category="General" makerssbutton="true"}
{cms_module module="news" start="" number="5" category="General"}

Section "General" {cms_module module="news" start="" number="5" category="test1" makerssbutton="true"}
{cms_module module="news" start="" number="5" category="test1"}

Update 2
Ok, the reason why no news are displayed, is parameter start.
If you pass an empty string, like I did before: start="" , nothing will be displayed.
If you say start= without quotes, you´ll get a smarty error.
To start with the first entry, you should either completely omit parameter start, or
set start=0.
Last edited by magicpio on Tue May 23, 2006 2:52 pm, edited 1 time in total.
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am
Location: Southern France

Re: Howto display news on a page using news module?

Post by fredt »

Hi,

See my recent post about News + RSS + Categories bug. Perhaps my solution can help you...
Post Reply

Return to “Modules/Add-Ons”