Page 92 of 235 FirstFirst ... 42829091929394102142192 ... LastLast
Results 911 to 920 of 2345
  1. #911
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by gourmets View Post
    Ok, but how to do you create them manually? This is one of the things I wasnt aware of how to do. Do I have to put the links into the actual file? Or is there something else? I dont understand the manual part.
    Yep, you'll manually add them in includes/template/YOUR_TEMLATE/common/tpl_drop_menu.php

  2. #912
    Join Date
    Feb 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    I have installing this modul with academe template, but i have this problem in internet explorer, there is a space between my header image and the menu as you can see in this image Click image for larger version. 

Name:	IEProblem.jpg 
Views:	252 
Size:	39.4 KB 
ID:	3706


    but there is no problem with opera, safari and firefox
    Click image for larger version. 

Name:	Opera.jpg 
Views:	243 
Size:	31.7 KB 
ID:	3705

    how to fix this issue ?? please help me.

    thank you.

  3. #913
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by fireolg View Post
    I have installing this modul with academe template, but i have this problem in internet explorer, there is a space between my header image and the menu as you can see in this image Click image for larger version. 

Name:	IEProblem.jpg 
Views:	252 
Size:	39.4 KB 
ID:	3706


    but there is no problem with opera, safari and firefox
    Click image for larger version. 

Name:	Opera.jpg 
Views:	243 
Size:	31.7 KB 
ID:	3705

    how to fix this issue ?? please help me.

    thank you.
    Please post a link.

  4. #914
    Join Date
    Feb 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by jettrue View Post
    Please post a link.
    I'm still developing in my own machine, is there any file from my zencart configurations u need?

  5. #915
    Join Date
    Feb 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by jettrue View Post
    Please post a link.
    I'm only remove/disable the ezpages from the admin section, and then I placed this modul below the logo image, this works fine exept in the internet explorer.
    Last edited by fireolg; 4 Apr 2008 at 07:18 AM.

  6. #916
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by fireolg View Post
    I'm only remove/disable the ezpages from the admin section, and then I placed this modul below the logo image, this works fine exept in the internet explorer.
    Look at the source of the page, and paste for me from the logo section, to the beginning of the drop down menu.

  7. #917
    Join Date
    Feb 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by jettrue View Post
    Look at the source of the page, and paste for me from the logo section, to the beginning of the drop down menu.
    this is my tlp_header.php :
    PHP Code:
    <?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">
    <div id="topBarWrap">
    <div id="topBar">
    <?php require(DIR_WS_MODULES 'sideboxes/languages_header.php'); ?>
    <?php 
    require(DIR_WS_MODULES 'sideboxes/currencies_header.php'); ?>
    <div id="cart_header" class="topBox">Shopping Cart<br /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>"><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></a>

    <!-- logoff menu -->
    <br>>> <?php if ($_SESSION['customer_id']) { ?>
        <a href="<?php echo zen_href_link(FILENAME_LOGOFF'''SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF?></a>
    <?php
          
    } else {
            if (
    STORE_STATUS == '0') {
    ?>
        <a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>"><?php echo HEADER_TITLE_LOGIN?></a>
    <?php } } ?>
     <<

    </div>
    <br class="clearBoth" /></div>
    </div>
    <div id="logoWrap">
    <div id="logo"><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">' zen_image($template->get_template_dir(HEADER_LOGO_IMAGEDIR_WS_TEMPLATE$current_page_base,'images'). '/' HEADER_LOGO_IMAGEHEADER_ALT_TEXT) . '</a>'?></div>
    <!--bof-drop down menu display-->
    <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_drop_menu.php');?>
    <!--eof-drop down menu display-->
    <div class="clearBoth"></div>
    <div id="topLinks">
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE$_SERVER['REMOTE_ADDR'])))) { 
    require(
    $template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); 
    ?>

    </div><br class="clearBoth" />
    </div>
    </div>
    <?php ?>

  8. #918
    Join Date
    Oct 2006
    Location
    Los Angeles
    Posts
    109
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    I installed this great contribution, but right below the drop down header I still have the old menu with Home, Log in, Shopping cart buttons that I would like to remove.

    I guess this is the same problem as in post #7.
    In post #8, there is a way to fix it, but I dont know php, it might as well be a foreign language...

    i tried editing the file, but no such luck

    can sombody please explain on how to get rid of the old menu.

    website: http://got-jdm.com/JDM

    thank you

  9. #919
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by fireolg View Post
    this is my tlp_header.php :
    PHP Code:
    <?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">
    <div id="topBarWrap">
    <div id="topBar">
    <?php require(DIR_WS_MODULES 'sideboxes/languages_header.php'); ?>
    <?php 
    require(DIR_WS_MODULES 'sideboxes/currencies_header.php'); ?>
    <div id="cart_header" class="topBox">Shopping Cart<br /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL'); ?>"><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></a>

    <!-- logoff menu -->
    <br>>> <?php if ($_SESSION['customer_id']) { ?>
        <a href="<?php echo zen_href_link(FILENAME_LOGOFF'''SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF?></a>
    <?php
          
    } else {
            if (
    STORE_STATUS == '0') {
    ?>
        <a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>"><?php echo HEADER_TITLE_LOGIN?></a>
    <?php } } ?>
     <<

    </div>
    <br class="clearBoth" /></div>
    </div>
    <div id="logoWrap">
    <div id="logo"><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">' zen_image($template->get_template_dir(HEADER_LOGO_IMAGEDIR_WS_TEMPLATE$current_page_base,'images'). '/' HEADER_LOGO_IMAGEHEADER_ALT_TEXT) . '</a>'?></div>
    <!--bof-drop down menu display-->
    <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_drop_menu.php');?>
    <!--eof-drop down menu display-->
    <div class="clearBoth"></div>
    <div id="topLinks">
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE$_SERVER['REMOTE_ADDR'])))) { 
    require(
    $template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); 
    ?>

    </div><br class="clearBoth" />
    </div>
    </div>
    <?php ?>
    Change ALL <br class="clearBoth" /> to <div class="clearBoth"></div>

    and then CHANGE the current .clearBoth in stylesheet.css to this:

    Code:
    .clearBoth {
    	clear:both;
    	height:0;
    	font-size:0;
    	line-height:0;
    	margin:0;
    	padding:0;
    	}

  10. #920
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by ztotheetothen View Post
    I installed this great contribution, but right below the drop down header I still have the old menu with Home, Log in, Shopping cart buttons that I would like to remove.

    I guess this is the same problem as in post #7.
    In post #8, there is a way to fix it, but I dont know php, it might as well be a foreign language...

    i tried editing the file, but no such luck

    can sombody please explain on how to get rid of the old menu.

    website: http://got-jdm.com/JDM

    thank you
    Open up includes/templates/YOUR_TEMPLATE/common/tpl_header.php and remove everything from:

    <!--bof-navigation display-->

    to:

    <!--eof-navigation display-->

 

 

Similar Threads

  1. Categories dropdown menu/css
    By KenshiroU in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Apr 2013, 01:04 PM
  2. HIde categories mod with css dropdown menu
    By adowty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Feb 2012, 01:05 AM
  3. How to use ezpages/categories as dropdown menu in the header?
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Dec 2011, 06:32 PM
  4. whats wrong with this css for my dropdown menu?
    By 1kell in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 28 May 2010, 02:47 AM
  5. Header Dropdown Menu (CSS) Without the Dropdown???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2009, 01:20 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR