Category not working as intended
15 posts by 2 authors in: Forums > CMS Builder
Last Post: February 3, 2009 (RSS)
http://209.62.14.161/products/furnlistList.php
I have Square End Table set up as a child in the CMS Admin, but what gives? Is it anything to do with the Summary entry being Empty?
Please Advise
Re: [misery217] Category not working as intended
By Dave - January 30, 2009
Can you attach the viewer file you're using so we can see the code (furnlistList.php)?
Thanks!
interactivetools.com
Re: [misery217] Category not working as intended
By Dave - January 30, 2009
interactivetools.com
Re: [misery217] Category not working as intended
By Dave - January 30, 2009
Do you have a mockup of how you want the list page to look?
interactivetools.com
Re: [Dave] Category not working as intended
http://209.62.14.161/products/furnlistList.php
But with the Second Entry. The second entry should be under the first category (Tables). Should I just delete the second entry and re-enter it again? It does show in the Admin to be under Tables... Curious...
Re: [misery217] Category not working as intended
By Dave - January 30, 2009
<?php if ($record['depth'] == 1): ?>
... show indented record here ...
<?php endif ?>
Let me know if that will work for you.
interactivetools.com
Re: [Dave] Category not working as intended
As it is now, it's showing in the main menu, which is incorrect. So I'm not sure the depth indicator would work?
Sorry for the delay, weekends and all!!!
Thanks for the continued support!!!
Re: [misery217] Category not working as intended
By Dave - February 2, 2009
list($furnlistRecords, $furnlistMetaData) = getRecords(array(
'tableName' => 'furnlist',
'where' => " depth = 0 ",
));
Let me know if that works for you.
interactivetools.com