available modules not shown in manager

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.
keratos

Re: available modules not shown in manager

Post 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?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: available modules not shown in manager

Post 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
keratos

Re: available modules not shown in manager

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: available modules not shown in manager

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: available modules not shown in manager

Post 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
keratos

FIXED: available modules not shown in manager

Post 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 ??
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: available modules not shown in manager

Post 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
Locked

Return to “CMSMS Core”