Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Posts
    36
    Plugin Contributions
    0

    Default Changing link in header

    I would like to change "My account" in the header to direct to a page ive created with EZ pages. I need to know what code to use in the tpl_header file

    It currently reads:-

    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT; ?></span></a></li>

    As i said I would like it redirected to an ez pages eg
    shop/page.html?id=20

    Bit confused with this one.

  2. #2
    Join Date
    Jan 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: Changing link in header

    Code:
    <li><a href="1"><span>2</span></a></li>


    1. the link path
    2. the button name that shows up in header

    i.e: if you want to change My Account in the header to My Page and the link path is in
    shop/page.html?id=20 ( assume shop is the root folder of the zencart )

    Code:
    <li><a href="page.html?id=20"><span>My Page</span></a></li>

  3. #3
    Join Date
    Jan 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Changing link in header

    Brilliant, thank you

 

 

Similar Threads

  1. How can I change link colors in header, without changing all other link colors?
    By coreyalderin in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 20 Jun 2012, 03:17 AM
  2. Help changing Logo link in header
    By dbj-media in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Jun 2009, 11:46 PM
  3. Changing Main Header Image Link
    By kostenlose in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Jan 2009, 03:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg