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)

By QuietCalm - January 12, 2009

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
Attachments:

categorylist_004.php 6K

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!
Dave Edis - Senior Developer
interactivetools.com