Thread: Link Problem

Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2006
    Location
    Los Angeles
    Posts
    91
    Plugin Contributions
    0

    Default Link Problem

    I was doing fine (using firefox) until I looked @ the page on safari. there is in the header now a little question mark in a blue box linking to the homepage. I have tried everything I know to delete that but can't I looked @ the source for the homepage on safari... i think the error occurs here:

    <!--bof-branding display-->
    <div id="logoWrapper">
    <div id="logo"><a href="THE HOMEPAGE LINK"><img src="includes/templates/MY TEMPLATE/images/" alt="" /></a></div>
    </div>
    <br class="clearBoth" />
    <!--eof-branding display-->

    any ideas where I find this code in the file manager? THANKS!!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Link Problem

    The default code for this is:
    Code:
     <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    If you want a different text statement you should change the constant for it and not this reference "HEADER_ALT_TEXT", you can search through the admin > developers tools > to find this constant string
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2006
    Location
    Los Angeles
    Posts
    91
    Plugin Contributions
    0

    Default Re: Link Problem

    I just want to get rid of the little question box/link... ???

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Link Problem

    Yes and I believe that this is the cause
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Nov 2006
    Location
    Los Angeles
    Posts
    91
    Plugin Contributions
    0

    Default Re: Link Problem

    ok, so where do i put this code?

    Quote Originally Posted by kobra View Post
    The default code for this is:
    Code:
     <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    If you want a different text statement you should change the constant for it and not this reference "HEADER_ALT_TEXT", you can search through the admin > developers tools > to find this constant string

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Link Problem

    You have edited this file and I hope that you are using the overrides for your template over editing the core file. If so, you can just delete the override file and Zen Cart will use the default file. If not, please read about creating your own template.

    From your expanded zip for Zen Cart, retreive the file tpl_header.php and replace the file with an unedited one.

    Then in /includes/languages/english/header.php find this code:
    Code:
    define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
    and change the red highlighted text to:
    Code:
    define('HEADER_ALT_TEXT', 'THE HOMEPAGE LINK');
    Or any other title that you want

    Note: maintain the SINGLE quotes around the text
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. link problem
    By colin0502 in forum General Questions
    Replies: 2
    Last Post: 23 May 2010, 09:51 PM
  2. Link problem
    By pnut599 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 Jun 2009, 04:44 PM
  3. Download Link Problem & Gift Card Problem too...
    By Miss Tiina in forum General Questions
    Replies: 2
    Last Post: 14 Mar 2009, 03:58 PM
  4. link problem
    By zahid99 in forum General Questions
    Replies: 5
    Last Post: 5 Aug 2007, 03:38 PM

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