[support] How to display a menu in a block, but only the first X items?

Tim Vaughan tim at timvaughan.co.uk
Thu Sep 4 08:57:07 UTC 2008


Hi list,

I need to display a menu in a block - so far, all pretty simple.  But
I also need to restrict the number of displayed menu items to, say,
the top 5.  Is there a PHP snippet I could use for this?  I've had a
look on d.o but nothing so far.

Cheers,

Tim

--
Tim Vaughan
07725749263


More information about the support mailing list