Remove a menu link but display other links ?

3 posts by 2 authors in: Forums > CMS Builder
Last Post: July 4, 2008   (RSS)

Re: [virgodesign] Remove a menu link but display other links ?

By Dave - July 4, 2008

Hi Avrom, try this (in red):

<?php foreach ($listRows as $record): ?>
<?php if ($record['num'] == 4) { continue; } ?>
<a href="<?php echo $record['_link'] ?>"><?php echo $record['title'] ?></a><br />
<?php endforeach ?>


Let me know if that works for you! :)
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Remove a menu link but display other links ?

By avrom - July 4, 2008

Hi Dave,

Works perfectly !

And wow such fast support :) !! ^^

Cheers
Avrom