Menu works, links work, page name works, content does not?
2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 13, 2009 (RSS)
Here is the page live in action:
http://72.35.27.78/categoryList.php?About-Us-2
Clicking menu links at left will result in proper name changing at right column. But the content (where is shows "Bus Tours Information" is not changing even though the code is there.
Any idea why this is not working?
categoryList.php code attached.
QuietCalm <== not a php programmer
http://72.35.27.78/categoryList.php?About-Us-2
Clicking menu links at left will result in proper name changing at right column. But the content (where is shows "Bus Tours Information" is not changing even though the code is there.
Any idea why this is not working?
categoryList.php code attached.
QuietCalm <== not a php programmer
Re: [QuietCalm] Menu works, links work, page name works, content does not?
By Dave - January 13, 2009
Hi QuietCalm,
If you view-source on the page it's actually adding <b></b> around the current menu item, but all your menu items are bold so it doesn't show.
Just update these lines in the code with the tags you wanted added around selected menu items:
<?php if ($categoryRecord['_isSelected']): ?><b><?php endif; ?>
<?php if ($categoryRecord['_isSelected']): ?></b><?php endif; ?>
Hope that helps!
If you view-source on the page it's actually adding <b></b> around the current menu item, but all your menu items are bold so it doesn't show.
Just update these lines in the code with the tags you wanted added around selected menu items:
<?php if ($categoryRecord['_isSelected']): ?><b><?php endif; ?>
<?php if ($categoryRecord['_isSelected']): ?></b><?php endif; ?>
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com