Page 1 of 1

Hi! i have problem with start item in News module

Posted: Sat Dec 30, 2006 10:00 pm
by watexon
Quite werid problem. I'm trying to set start function in the news module but it looks like not working. Ex. {cms_module module="news" start="1"}, I have 3 news already and nothing happens, I mean none of the news appears. After removing start item everything works ok. It looks like there is not such function like start="". I don't know what to do. It stops me from going further. Please help.
Ps. I'm working on my own template (very simple at the moment), if there's any clue.

Re: Hi! i have problem with start item in News module

Posted: Sat Dec 30, 2006 11:25 pm
by Dr.CSS
Try using single quotes '  ' keep in mind it is binary, i.e. starts at 0 = 1

This is a parameter it's supposed to use, go to Extensions > Modules and click News or Help for the rest of them...

Re: Hi! i have problem with start item in News module

Posted: Sun Dec 31, 2006 11:42 am
by watexon
Thanks mark but like I said I've tried everything, but with no result. J really don't know what is wrong. :(

Re: Hi! i have problem with start item in News module

Posted: Sun Dec 31, 2006 6:22 pm
by Dr.CSS
Do you have a link?...
Which ver. of CMSMS?
If you would like me to try, PM me with a temporary login....

Re: Hi! i have problem with start item in News module

Posted: Sun Dec 31, 2006 8:18 pm
by Jussi A.
Try this, worked for me:

Code: Select all

 {news detailpage='news' number="N" start="n" category='Some_category'}
You may omit the category=, but you shoud have the number= parameter.

HTH!


Edit: typo...

Re: Hi! i have problem with start item in News module

Posted: Sat Jan 06, 2007 3:20 pm
by watexon
I'm sorry I solved the problem. The problem was that I wrongly put {news....} in the text field of a page instead of template. Thanks anyway. All of you. :)

Re: Hi! i have problem with start item in News module

Posted: Sat Jan 06, 2007 4:32 pm
by Dr.CSS
The {news} tag can go in the text field of a page you just have to make sure it doesn't end up with , or around it, Source view in FCKeditor or html button in tinyMCE editor will show you if it does...

I make side boxes just so I can put news on some pages and or content in it for other pages...

Re: Hi! i have problem with start item in News module

Posted: Wed Jan 10, 2007 11:34 pm
by CRobledo
Hello,

I'm having the same problem noted above with the "start" item in the News Module.  I've got CMSMS version 1.0.2.  I did follow all of the replies/instructions, including taking binary numbering into account, and trying singe quotes instead of double.

My site is behind a corporate firewall, so I can't link to it.

What I'm trying to do is only show the 5 most current news items on the News page, which works fine
{news number="5"}

Then, I've created a second page titled Older News Posts for all beyond the first 5, and entered into the text of that page:
{news start="5"}
However, no posts at all show up on this Older News Posts page, even though I have a total of 7 posts so far.

Thank you.

Re: Hi! i have problem with start item in News module

Posted: Wed Jan 10, 2007 11:47 pm
by Dr.CSS
Did you check the source to make sure it's not wrapped in some kind of formatting, render page in browser right click view source...

Re: Hi! i have problem with start item in News module

Posted: Thu Jan 11, 2007 12:39 am
by CRobledo
Yes, there doesn't appear to be any extra code wrapped around it (I go into Source and hardcode anything I do on the cms anyways).  I've displayed below what View Source shows.

If you have a better suggestion for creating an archive page of older/all posts, I'm game for trying something better.  I may be making this far more difficult than need be.

I'm using the Top Simple Nav + Left Subnav + 1 column template throughout my site, with NEWS as one of my Top Simple Nav menu items.  The sidebar displays the most current 5 news posts, on all pages throughout my site.  Ideally, I want my NEWS page to display ALL unexpired news posts.  Problem is... that works fine when users click on NEWS in the Top Simple Nav menu.  But... when they click on the "More" link in the sidebar News posts (5 most current).... it displays the post detail on the NEWS page, without also showing all the other/older posts, or even linking to the other/older posts.

Thanks!

p.s.  I've used CMSMS for just a few weeks and absolutely love it!

-------------------

Here's my View Source display for my older news items
{news start="'3"}


     
     
       
        Older News Posts

       




&nbsp
Page last updated by: Colleen Robledo on Wednesday 10-Jan-07 15:58:11 PST
         

Re: Hi! i have problem with start item in News module

Posted: Thu Jan 11, 2007 2:46 am
by Dr.CSS
If this is your actual tag {news start="'3"} then may I suggest {news start='3'} it's funny about double quotes some times... it looks like a dbl. quote single 3 then dbl. quote, and this doesn't look right having a dbl. quote at the end

Re: Hi! i have problem with start item in News module

Posted: Thu Jan 11, 2007 3:59 am
by CRobledo
Thanks.  I tried that, and it's still not displaying or showing up in View Source.  I may check the News entry in the sidebar, and work it into my main content sections instead.

Re: Hi! i have problem with start item in News module

Posted: Thu Jan 11, 2007 4:47 pm
by scooper
Hmmm - same problem here - nice new installation of 1.0.2 with News 2.1.

Using {news start='4'} gives no items, doesn't matter whether I'm using single or double quotes.

but.....

... pause for dramatic effect ....

if I also pass the 'number' parameter then it work fines.

So {news number='1000' start='4'} will start at the fifth item as planned.

I'll log a bug in the tracker, but that's a reasonable work around for now at least.

s.