Page 2 of 2
Re: available modules not shown in manager
Posted: Wed Nov 14, 2007 3:21 pm
by keratos
I've deleted the " Start='1' " from the first {news...} tag,
but it still displays all the news articles???
Ive tried sortasc='true' instead of false, but still the same.
Is something broke?
Re: available modules not shown in manager
Posted: Wed Nov 14, 2007 3:35 pm
by RonnyK
I see that happening, I've read about a broken translation that could cause this. But didnt see it happen lately. Have to check at home, as I dont have file access from the office.
What is the news-version you're on? This is visible inside "Extensions -> Modules"
Ronny
Re: available modules not shown in manager
Posted: Wed Nov 14, 2007 3:43 pm
by keratos
news v2.5.1
from the standard install of CMSMS 1.2.
I've got it almost working now, I can live with the last news item being displayed, it will end up at the end of the list, off screen, at some point soon anyway.
Nice to know what can be fixed, if anything though.
Thanks for all your help Ronny, today.
I've learned much through your kind wisdom and assistance.
Darren
Re: available modules not shown in manager
Posted: Wed Nov 14, 2007 3:46 pm
by RonnyK
Darren,
there is a News 2.6 available through ModuleManager or the dev-area. But I doubt that it will fix the issue. I recall the issue with a lang-file, but that was earlier, around news 2.3 .....
Ronny
Re: available modules not shown in manager
Posted: Wed Nov 14, 2007 7:55 pm
by RonnyK
Darren,
In the current release of NEWS, you should use
number=999 start='1'
in the calling of the archive, as the start-parameter alone doesnt work. This will be fixed. So for the archive, you use start='1' to start with the second item, and use number as well to show all others.
Ronny
FIXED: available modules not shown in manager
Posted: Thu Nov 15, 2007 9:43 am
by keratos
Ho Ronny.
Ok that has worked, GREAT!
I've also gained some (limited) experience in modules, templates, and CSS, for I had to create another "Summary" template for the news module which I then linked to additions in the corresponding theme's CSS . This allowed me to create a more condensed section on the right-bar for the news archive list, and to reduce the font size and widen the bar a little.
Its look great now.
MANY THANKS Ronny.
One question, why the 'start=1'. I would have assumed this would "reset" the list of news displayed, because item 1 is always displayed as "todays news", above the archive list ??
Re: available modules not shown in manager
Posted: Thu Nov 15, 2007 9:56 am
by RonnyK
Darren,
the start='1' will start showing the 2nd item, so not the first item. As you show the latest item in the first calling, you don't want to see that one again in the 'Archive', so start='1' skips the first. If you want to see the latest item in the archive as well, you can remove that parameter.
So with number=x, you only show x-items, with start=x, you start at the n-th item, so x+1 is the first to be shown.
Using them together in 2 callings, gives you a current/archive option with styling opportunities.
Ronny