News not supported as menu item

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.
Post Reply
niedermayer
Forum Members
Forum Members
Posts: 11
Joined: Thu Feb 15, 2007 10:20 am

News not supported as menu item

Post by niedermayer »

I have a number of menu items that displays news from certain categories. After upgrading from v1.1.4.1 and news 2.3 to v1.2 and news 2.5.1, I get a "unsupported" when having a news category as a menu item. Now when I add more news to a certain category, they won't show up when I go to that page.

This was really nice as my menu manager could set different css classes to the menu items, and thereby having different images for the different items. Like this:

Code: Select all

{if $node->type == 'content'}
<li class="pageitem"><a href="{$node->url}"> {$node->menutext} </a>
{elseif $node->type == 'link'}
<li class="links"><a href="{$node->url}"> {$node->menutext} </a>
{else}
<li class="news"><a href="{$node->url}"> {$node->menutext} </a>
Will I have to replace my news items with content with a {news category="blabla"}-tag? (just tested and this does not work either..news does not show. So this is another problem of mine)

Any hints, tips or solutions much appreciated.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: News not supported as menu item

Post by RonnyK »

niedermayer,

you mean you call NEWS using the content-type =News in the content-pages. That is no longer supported as not all logic included in the NEWS-module could be used in the calling of content-type. If you used it before, it will work in the new-release as well, it is only meant to say that not all features are working (like pagination) when you use the content-type (NEWS).

Ronny
niedermayer
Forum Members
Forum Members
Posts: 11
Joined: Thu Feb 15, 2007 10:20 am

Re: News not supported as menu item

Post by niedermayer »

yes, news as the content-type. And it does work.

Seems to be a problem with one specific news item. It just won't show at all. Strange.
Post Reply

Return to “CMSMS Core”