Bootstrap 4 Navbar

2 posts by 2 authors in: Forums > CMS Builder
Last Post: September 6, 2017   (RSS)

By Dave - September 6, 2017

Hey Tim, 

I wanted to follow up and check if you got this sorted out?

With categories or any records returned from CMSB you can see all the available fields using our showme() function like so: 

<?phg showme($categories); ?>

There are pseudo-field called _hasChild and _hasParent you can check for children and parents. eg: 

<?php if ($categoryRecord['_hasChild']): ?>
...
<?php endif; ?>

If you need more help with it feel free to email me direct with a link to a sample page.  It's easier to work on live code.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com