Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default Remove link from page banner

    Hi need some help to remove the hyperlink from my page banner

    the site http://www. neterubookstore.com

    Thanks

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

    Default Re: Remove link from page banner

    Quote Originally Posted by khaybet View Post
    Hi need some help to remove the hyperlink from my page banner

    the site http://www. neterubookstore.com

    Thanks
    If you want to completely remove the link in the header you will need to edit the file includes/ templates/ your template/ common/ tpl_header.php

  3. #3
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Remove link from page banner

    Hi here is a copy of the file could you point me in the right direction
    <div id="headerWrapper">
    <!--bof-branding display-->
    <div id="logoWrapper">
    <div id="logotext"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . STORE_NAME . '</a>' ?></div>
    <!-- Alternatively use a Logo Image
    <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> -->
    </div>
    <?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
    }
    }
    ?>

    <!--eof-branding display-->

    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">

    <?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><img src="<?= DIR_WS_TEMPLATE . 'images/homebutton.gif"></a>'?>
    <?php if ($_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><img src="<?= DIR_WS_TEMPLATE . 'images/logoffbutton.gif"></a>'?>
    <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><img src="<?= DIR_WS_TEMPLATE . 'images/myaccountbutton.gif"></a>'?>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><img src="<?= DIR_WS_TEMPLATE . 'images/loginbutton.gif"></a>'?>
    <?php } } ?>

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><img src="<?= DIR_WS_TEMPLATE . 'images/cartbutton.gif"></a>'?>
    <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><img src="<?= DIR_WS_TEMPLATE . 'images/checkoutbutton.gif"></a>'?>
    <?php }?>
    </div>
    <div class="navMainSearch forward"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    <!--eof-header logo and navigation display-->

    <!--bof-optional categories tabs navigation display-->
    <!-- <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>-->
    <!--eof-optional categories tabs navigation display-->

    <!--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>
    <?php } ?>

    Thank you for your response

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

    Default Re: Remove link from page banner

    Find this above in the 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> -->
    </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> -->
    </div>

  5. #5
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Remove link from page banner

    Hi i have changed the code but the link still remains

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

    Default Re: Remove link from page banner

    what is the path of the .php file you are editing...
    Do you use an overide file structure

  7. #7
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Remove link from page banner

    The path to my file is located in my templates common folder

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

    Default Re: Remove link from page banner

    includes/ templates/ artshop/ common/ tpl_header.php
    notice the highlighted red font which is your custom template

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

    Default Re: Remove link from page banner

    Sorry I am wrong from above...

    Find this:
    <div id="logotext"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . STORE_NAME . '</a>' ?></div>
    Change to this:
    <div id="logotext"></div>

  10. #10
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Remove link from page banner

    Thank you very much all done now working

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Remove Sidebox from Banner
    By bromleysid in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jun 2012, 01:40 PM
  2. NOT require login to view EZ Page from Banner Link
    By dimsumgurl in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Apr 2011, 04:00 PM
  3. How to remove check update verson link from admin page top right?
    By smurthy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jan 2011, 01:47 PM
  4. How do I remove the link from the zenlogo banner?
    By kathi247 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Jul 2010, 03:47 PM
  5. Remove link from product listing page
    By khanse44 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Feb 2010, 05:19 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