Is there a way to automatically add news items from certain categories into the main menu ?
I am currently manually adding an "external link"
Add news Items to Menu ?
Re: Add news Items to Menu ?
just a thought... but if you were to use junk... then you could put a link in that way... would be cool to do.. but if you have a lot of them then the menu would be hard to handle as a user... I and viebig were talking about trying to get a menu list limit type function... he said he would give it a go and i found a work around... but if that got working it'd be really cool....
or or... set the limit... make a news template and call new in the menu... may-be... haven't tested that but sure work...
... CMSMS is great for way to work around....
hope that helps
jeremyBass
or or... set the limit... make a news template and call new in the menu... may-be... haven't tested that but sure work...

hope that helps
jeremyBass
Re: Add news Items to Menu ?
This should get you running
jeremyBass
Code: Select all
{capture assign='junk'}{news number='1000'}{/capture}
<li>news<ul>
{foreach from=$items item=entry}
<li><a class="{$entry->title}" href="{$entry->moreurl}">{$entry->title}</a></li>
{/foreach}
</ul></li>
Last edited by JeremyBASS on Sun Nov 02, 2008 7:51 am, edited 1 time in total.
Re: Add news Items to Menu ?
Correction on this as well... Blogs doesn't seem to work fully here either... the landing page in the url seems to be missing... I think that is the issue...
I'm sure someone like Calguy would know why but.. fix that and the we'd be back to what I said beofre...
Have a great one...
jeremyBass
I'm sure someone like Calguy would know why but.. fix that and the we'd be back to what I said beofre...
Have a great one...
jeremyBass