Filtering getCategories using a checkbox = 1 or Yes
Rather than equal to something, have you tried something like the following - which in my way of thinking says... if record is not blank.
<?php if ($categoryRecord['vegetarian_menu_item'] ):?>
BTW. I'm interested in what you're building. I've got a project in the to-do pile that's a menu builder for a restaurant. Let me know if it's something you can discuss. tim at toledoh dot com dot au.
Yea - the solution was so simple.
All the code was good - the problem was me. I forgot to check the top-tier parent categories as vegetarian, because they include vegetarian meal items.
Since the second tier children require the parent to exist as vegetarian - well the children did not appear. Setting the parent top tier to vegetarian displayed all the second tier vegetarian menu items, because they are dependent of the parent per the line of code below.
<?php if ($categoryRecord['parentNum'] == $parent): ?>
Stupid me : )