Add news Items to Menu ?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
DavidG
Forum Members
Forum Members
Posts: 26
Joined: Wed Aug 20, 2008 10:02 am

Add news Items to Menu ?

Post by DavidG »

Is there a way to automatically add news items from certain categories into the main menu ?
I am currently manually adding an "external link"
JeremyBASS

Re: Add news Items to Menu ?

Post by JeremyBASS »

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
JeremyBASS

Re: Add news Items to Menu ?

Post by JeremyBASS »

This should get you running

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>
jeremyBass
Last edited by JeremyBASS on Sun Nov 02, 2008 7:51 am, edited 1 time in total.
JeremyBASS

Re: Add news Items to Menu ?

Post by JeremyBASS »

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

Return to “Modules/Add-Ons”