News module start item [solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
waldus68

News module start item [solved]

Post by waldus68 »

Sorry if this is already covered, I am trying to pull the two most recent articles as a news item and display them in different columns. I tried to do this {news start='1' number='1'} for the one and {news start='2' number='1'} for the other. It seems, by using the start option, it is not pulling any content. Any ideas?
Thanks
Last edited by waldus68 on Sun Jan 28, 2007 8:06 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News module start item

Post by Dr.CSS »

It seems it works on the bianary numbering system so 1 is 0 and 2 is 1...

Try using nothing for the first one then 1 for the second one and set the limit='1' to get only the one in each otherwise it will start at the number and give you all below it, ie,. if you have 5 articles and you say start='1' it will give you the second article and the next ones, 3, 4, and 5...
waldus68

Re: News module start item

Post by waldus68 »

Perfect! that is exactly what it was. Thank you.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News module start item

Post by Dr.CSS »

Your welcome...

can you changed the heading to [solved] helps if others are looking...
Locked

Return to “CMSMS Core”