Forums / Templates, Stylesheets, Page Layout / moving ez-pages links to header

moving ez-pages links to header

Locked

Started by fulltilt on 23 Sep 2008, 10:51 AM · Views: 1,081

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Sep 2008, 10:51 AM
#1
fulltilt avatar

fulltilt

New Zenner

Join Date:
Sep 2006
Posts:
80
Plugin Contributions:
0

moving ez-pages links to header

i'm using the hugo13_orange template and like to move the links from ez-pages (top) into the right header corner ...

in header.tpl.html i found the right point:

      <div class="rightmenu">
                {insert name="rightMenu"} 

how can i change display ez links from top to that point?

Regards

23 Sep 2008, 11:52 AM
#2
fulltilt avatar

fulltilt

New Zenner

Join Date:
Sep 2006
Posts:
80
Plugin Contributions:
0

Re: moving ez-pages links to header

the tpl_header.php looks like this:

    function displayAddHeaderLinks(){ 
        $sA = array();   
        $sA['linkPrivacy'] = zen_href_link('page&id=16&chapter=0', '', 'NONSSL'); 
        $sA['textPrivacy'] = BOX_INFORMATION_PRIVACY; 
        $sA['linkShipping'] = zen_href_link('page&id=15&chapter=0', '', 'NONSSL'); 
        $sA['textShipping'] = BOX_INFORMATION_SHIPPING; 
        return $sA;   
    }

i like to copy next part instead of above - but i cant get it working

<!--bof-header ezpage links--> 
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> 
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php');  
?> 
<?php } ?> 
<!--eof-header ezpage links-->

or is there another solution to include the ez header links here?