Page 1 of 1

News not supported as menu item

Posted: Wed Oct 17, 2007 6:22 am
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.

Re: News not supported as menu item

Posted: Wed Oct 17, 2007 6:28 am
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

Re: News not supported as menu item

Posted: Wed Oct 17, 2007 6:41 am
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.