Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Adding separaters between Header Links?

Adding separaters between Header Links?

Locked

Started by magicman on 4 Feb 2009, 1:33 PM · Views: 684

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
4 Feb 2009, 1:33 PM
#1
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Adding separaters between Header Links?

I cannot figure out how to add a separater in between my header links. My footer links look like this.

Home :: Company Profile :: Site Map :: Resources & Links

My header links look like this:

Home Privacy Contact Us Log In

How do I put the " :: " in between them?

Thank you, Sincerely, MagicMan

4 Feb 2009, 8:43 PM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Adding separaters between Header Links?

admin/Configuration/Layout Settings -> Bread Crumbs Navigation Separator

Rob

Breakfast: the most important donut of the day.

4 Feb 2009, 9:04 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Adding separaters between Header Links?

For the header navbar, you will have to manually add the separators to the list items.
For example, find this in /includes/templates/your_template/common/tpl_header.php:```php

<!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php if ($_SESSION['customer_id']) { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li> <?php ``` Add <?php echo EZPAGES_SEPARATOR_HEADER; ?> to the list items after the first one:```php <!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php if ($_SESSION['customer_id']) { ?> <li><?php echo EZPAGES_SEPARATOR_HEADER; ?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> <li><?php echo EZPAGES_SEPARATOR_HEADER; ?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li> ```Add to the rest of the items in the same way.
5 Feb 2009, 12:25 PM
#4
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Adding separaters between Header Links?

Note to self: Read what the OP actually says. :oops:

Rob

Breakfast: the most important donut of the day.