Page 1 of 1

[solved] {news} start parameter sequence

Posted: Mon Jun 21, 2010 7:44 pm
by trainer
Hi :)
I am testing some demo categories to get the news working as I would like.

Code: Select all

news_id		news_category_id	news_title
1 		1 			News Module Installed 
2	 	2 			Top Cat
3	 	2		 	Hong Kong Phooey
4		2			Mutley
Edit - this table displays properly in Firefox (not I.E.)




(news_category_id 2 = Fun)



I would like to have two individual entries on either side of a page.

First item = Hong Kong Phooey
Second item = Mutley

So I am using this code..


1/ {news category="Fun" start='2' number='1' summarytemplate="plain"}
2/ {news category="Fun" start="3" number="1" summarytemplate="plain"}


However, what I am seeing is Hong Kong Phooey & TopCat

Am I using the parameters correctly?

Thanks.

Re: {news} start parameter sequence

Posted: Tue Jun 22, 2010 1:41 am
by wy0453
very helpful post.. thanks for sharing..

Re: {news} start parameter sequence

Posted: Tue Jun 22, 2010 3:27 pm
by trainer
ok - I worked it out (finally).

I guess start=""  starts at the latest entry (with id = 0) - and not the order that they went into the database.