Forums / Templates, Stylesheets, Page Layout / Edit footer bar links?

Edit footer bar links?

Locked

Views: 1,438

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Mar 2009, 10:20 PM
#1
pixelwrangler avatar

pixelwrangler

New Zenner

Join Date:
Mar 2009
Posts:
59
Plugin Contributions:
0

Edit footer bar links?

I've had some pretty good success remaking my ZC template to match an already existing HTML layout.

After poking around a bit, I can't seem to figure out how to edit the footerbar - I need to change some of the links.

I found the tpl_footer.php file, and apparently the code that handles this list of links is:

<ul> <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li> <?php } ?> </ul>

I know my way around CSS and <ul>, but all of the links appear to be in a single <li>

How do I edit the list of links here?

TIA for your suggestions; I've looked through a lot of posts here, but didn't find anything relevant.

23 Mar 2009, 10:49 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Edit footer bar links?

<ul>
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
<?php } ?>
</ul>

They are all contained within one unordered list or "ul"

How do I edit the list of links here?
Change the existing li's and/or add addition li's inside the ul

Zen-Venom Get Bitten