Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Posts
    367
    Plugin Contributions
    0

    Default how to remove logo hyperlink?

    I have 1.3.9h and i would like to remove the logo hyperlink.
    https://www.airtightvideo.com/shopping_cart

    I am enclosing the beginning part of my tpl_header.php if that helps:
    *******************************

    * 'Bask' Template designed by zen-cart-power.net
    * @copyright Copyright 2011 zen-cart-power.net - 'Bask' template
    */
    ?>

    <?php
    // Display all header alerts via messageStack:
    if ($messageStack->size('header') > 0) {
    echo $messageStack->output('header');
    }
    if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
    echo htmlspecialchars(urldecode($_GET['error_message']));
    }
    if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
    echo htmlspecialchars($_GET['info_message']);
    } else {

    }
    ?>


    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>

    <div id="headerWrapper">
    <!--bof-navigation display-->

    <!--bof-branding display-->
    <div id="logoWrapper" class="float-left">
    <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>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <div id="taglineWrapper">
    <?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
    }
    }
    ?>
    </div>
    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
    </div>
    <!--eof-branding display-->


    <div id="navMainWrapper">
    <div id="navMain" class="float-right">

    <!--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-->

    </div>

    <!--login section-->
    <div id="login_logout_section" class="float-right" width: 300>
    <ul class="list-style-none inline-list">
    <?php if ($_SESSION['customer_id']) { ?>
    <li>
    <?php echo HEADER_WELCOME; ?>&nbsp;<a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo ($_SESSION['customer_first_name'].' '.$_SESSION['customer_last_name']);?></a>!&nbsp;&nbsp;
    </li>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>

    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <li><?php echo HEADER_OR; ?></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_REGISTER; ?></a></li>
    <li><!-- (c) 2005, 2011. Authorize.Net is a registered trademark of CyberSource Corporation --> <div class="AuthorizeNetSeal"> <script type="text/javascript" language="javascript">var ANS_customer_id="0036e7ff-0a4e-4806-9f39-0049e960ce30";</script> <script type="text/javascript" language="javascript" src="//verify.authorize.net/anetseal/seal.js" ></script> <a href="http://www.authorize.net/" id="AuthorizeNetText" target="_blank">Accept Credit Cards</a></li>

    <?php } } ?>
    </ul>

    </div>
    <!--/login section-->
    ***************************************

    I would like to remove the hyperlink, i have tried to break the logo up into 3 parts to have seperate hyperlinks for each but have had no luck doing that.

    thanks

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

    Default Re: how to remove logo hyperlink

    This is the href for that
    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>
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2011
    Posts
    367
    Plugin Contributions
    0

    Default Re: how to remove logo hyperlink

    that text is already there, are you saying remove it? including the <div id="logo"></div> part? should i remove it all???

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

    Default Re: how to remove logo hyperlink

    Edit it/adjust it for your 3 images
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jan 2011
    Posts
    367
    Plugin Contributions
    0

    Default Re: how to remove logo hyperlink

    so your not saying to remove it? i have been editing it blue and nothing works, simply to remove the hyperlink could you tell me exactly what to delete?

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: how to remove logo hyperlink

    Slater,
    Find this:
    <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>
    Change to this:
    <div id="logo"><?php echo '' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>

  7. #7
    Join Date
    Jan 2011
    Posts
    367
    Plugin Contributions
    0

    Default Re: how to remove logo hyperlink

    thanks, that worked

 

 

Similar Threads

  1. v150 comodo trust logo results in SSL hyperlink
    By Meepy12 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Dec 2012, 11:37 PM
  2. remove product hyperlink?
    By Madeleinetay in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Aug 2009, 10:02 AM
  3. Remove hyperlink from Product Image
    By KiwiBrian in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Jul 2008, 03:29 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