Hi! i have problem with start item in News module
-
watexon
Hi! i have problem with start item in News module
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.
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
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...
This is a parameter it's supposed to use, go to Extensions > Modules and click News or Help for the rest of them...
-
watexon
Re: Hi! i have problem with start item in News module
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
Do you have a link?...
Which ver. of CMSMS?
If you would like me to try, PM me with a temporary login....
Which ver. of CMSMS?
If you would like me to try, PM me with a temporary login....
-
Jussi A.
Re: Hi! i have problem with start item in News module
Try this, worked for me:
You may omit the category=, but you shoud have the number= parameter.
HTH!
Edit: typo...
Code: Select all
{news detailpage='news' number="N" start="n" category='Some_category'}HTH!
Edit: typo...
Last edited by Jussi A. on Sun Dec 31, 2006 8:21 pm, edited 1 time in total.
-
watexon
Re: Hi! i have problem with start item in News module
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
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...
I make side boxes just so I can put news on some pages and or content in it for other pages...
-
CRobledo
Re: Hi! i have problem with start item in News module
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.
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
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...
-
CRobledo
Re: Hi! i have problem with start item in News module
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
 
Page last updated by: Colleen Robledo on Wednesday 10-Jan-07 15:58:11 PST
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
 
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
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
-
CRobledo
Re: Hi! i have problem with start item in News module
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
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.
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.


