Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2007
    Posts
    17
    Plugin Contributions
    0

    Default Remove stuff in the header

    Hello!

    I`m very new in the Zen Cart world.

    Could anyone help me with the styling?

    I`m using this template: http://zen-cart-templates.ichoze.net...roducts_id=181

    My site is www. nutrisport . no

    1. I want to remove everything in the header, from the logo till the blue header with "Specials | Featured Items | View All Products" and shopping cart. In the blue header I want to put in my own logo. The blue header should stay on the top of my site...

    - Does anyone know what files to edit to remove this things?

    2. Does anyone know if i can get the shopping cart module to show even if the person hasn`t logged in? For example "There are no products in the shopping cart".

    Hoping on a positive answer...

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Remove stuff in the header

    The file which generates what appears in the header is includes/templates/YOUR_TEMPLATE/common/tpl_header.php

    To add shopping cart details in there whether a visitor is logged in or not, you could add code to this file based on that which I have posted in this thread.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Sep 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Remove stuff in the header

    Thanx mate!

    I`ve just replaced the header with the footer, because it was similar what i wanted...

    www. nutrisport . no

    I`ve reached this far now:

    ------------------------------

    <?php
    /**
    * Atheme Template - tpl_footer.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * make a directory /templates/my_template/privacy<br />
    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />
    * to override the global settings and turn off the footer un-comment the following line:<br />
    * <br />
    * $flag_disable_footer = true;<br />
    *
    * @package templateSystem
    * @copyright Copyright 2007 iChoze Internet Solutions http://ichoze.com
    * @copyright Portions Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_footer.php 4821 2006-10-23 10:54:15Z drbyte $
    */
    require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
    ?>

    <?php
    if (!isset($flag_disable_footer) || !$flag_disable_footer) {
    ?>

    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <div id="navSupp">
    <ul>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
    <?php } ?>
    </ul>
    </div>
    </div>
    <!--eof-navigation display -->

    <!--bof-banner #5 display -->
    <?php
    if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>
    <!--eof-banner #5 display -->


    <?php
    } // flag_disable_footer
    ?>

    --------------

    1. How can I move the ICHOZE image from right to center?
    2. How can I change the color of the banner? From grey to normal blue...
    3. Also want to remove the "Home" but when i did that, the whole thing disappeard..
    4. How can I get the grey banner to not have so high width, I want to have it the same size as the footer...

    Hope someone can help me!

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove stuff in the header

    You should be posting in the Atheme Template Support Thread for this, so the maker will be more likely to see your questions.
    To correctly remove the "Home" link, delete this:
    PHP Code:
    <li><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?><?php echo HEADER_TITLE_CATALOG?></a></li>
    If you have ez-pages off for the footer, you will now have a <ul> with no items in it. I don't know how that will behave, and it might behave differently in different browsers as it is a nonstandard situation.
    Last edited by gjh42; 30 Sep 2007 at 07:36 PM.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 8 Jun 2012, 04:10 PM
  2. How do I remove the space between the header and the breadcrumb?
    By vinnybhaskar in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Feb 2009, 06:40 AM
  3. Remove right side stuff?
    By mamasylvia in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Mar 2008, 09:30 PM
  4. Help with header stuff
    By scarletvampire in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 16 Apr 2007, 11:07 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