not display specific (parent) record in category menu

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 7, 2011   (RSS)

By buttermilk - May 6, 2011

Hello all,

I've got a categoy menu set up that seems to be doing what it should: that is, it is displaying all links to the entries in that section editor.

Here's the php:

<ul>
<?php foreach ($servicesRecords as $record): ?>

<li><a href="<?php echo $record['_link'] ?>"><?php echo $record['name'] ?></a></li>

<?php endforeach; ?>
</ul>

What I'd *really* like to do is omit the parent entry so only that link is omitted from the list. Even specifiying the specific entry to not display would be fine by me (it's record number 7).

Any help would be much appreciated.

Re: [Jason] not display specific (parent) record in category menu

By buttermilk - May 7, 2011

Pure awesome. That's exactly what I needed.

Thanks, Jason!

Ian