Zen Follower
- Join Date:
- Apr 2009
- Posts:
- 84
- Plugin Contributions:
- 0
Coding issue with top nav bar
Hi everyone i have discovered how to can add and edit pages in the top nav bar header. however i cannot set it up with EZ-Pages or Products.
an example of the code i use to set-up a button is
<?php
if ($current_page_base ==privacy '') { $active = 'tab_active';
} else { $active = '';
}?>
<li id="<?php echo $active;?>"><a href="index.php?main_page=privacy"><?php echo TOP_MENU_PRIVACY;?></a></li>
Which is fine for most pages, but not EZ-Pages the code
if ($current_page_base
``` will not work for EZ-pages or product anyone know the code the i should be using for those pages? thanks in advance :smile:
the site is <http://www.testvip.myfreeola.com>