Page 170 of 235 FirstFirst ... 70120160168169170171172180220 ... LastLast
Results 1,691 to 1,700 of 2344
  1. #1691
    Join Date
    Apr 2009
    Posts
    152
    Plugin Contributions
    0

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

    Thanks alot. I notice when I click on a link from the menu, it doesn't show the whole subcatagory path. for example

    index.php?main_page=index&cPath=245

    rather than

    index.php?main_page=index&cPath=38_39_245

    this makes a huge difference for me and makes it pretty much unusable.

    Does anyone have an idea of what code to change in categories_ul_generator.php to get it to show the full path?

  2. #1692
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

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

    I looked thru forum and could not find answer...please let me know if there is one.

    At login page, I do not want category menu to show. How do I disable only at that page?

    https://www.burnerbooks.com/index.php?main_page=login
    [FONT="Tahoma"]kburner[/FONT]
    Burner Christian Bookstore
    www.burnerbooks.com

  3. #1693
    Join Date
    Jan 2009
    Location
    Vegas Baby!
    Posts
    349
    Plugin Contributions
    0

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

    Hi - I tried to install this today, but when I uploaded my tpl_header my site went blank.

    Code:
    <?php
    
    /**
    
     * Common Template - tpl_header.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_header.php<br />
    
     * to override the global settings and turn off the footer un-comment the following line:<br />
    
     * <br />
    
     * $flag_disable_header = true;<br />
    
     *
    
     * @package templateSystem
    
     * @copyright 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_header.php 4813 2006-10-23 02:13:53Z drbyte $
    
     */
    
    ?>
    
    
    
    <?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-->
    
    <div id="navMainWrapper">
    
    <div id="navMain">
    
    <ul class="back">
    <li><a href="http://www.bellafavori.com/index.php?main_page=products_new">WHAT'S NEW</a></li>
    <li><a href="http://www.bellafavori.com/index.php?main_page=page_5">SPECIAL OFFERS</a></li>
    <li><a href="http://www.bellafavori.com/index.php?main_page=page_6">BRIDAL REGISTRY</a></li>
    <li><a href="http://www.bellafavori.com/index.php?main_page=page_7">BRIDAL SHOWS</a></li>
    <li><a href="http://www.bellafavori.com/index.php?main_page=page_8">EMAIL UPDATES</a></li>
    <li><?php if (!$_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>">LOGIN</a><?php } ?>
    <?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>">MY ACCOUNT</a> 
    <?php } ?><?php } ?>
    <?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>">LOGOUT</a></li><?php } ?><?php } ?>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>">VIEW CART</a>
    <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>">CHECKOUT</a>
    <?php }?>
    
    </ul>
    
    </div>
    
    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    
    <br class="clearBoth" />
    
    </div>
    
    <!--eof-navigation display-->
    
    
    
    <!--bof-branding display-->
    
    <div id="logoWrapper">
    
        <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 (HEADER_SALES_TEXT != '') {
    
    ?>
    
          <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    
    <?php
    
                  }
    
    ?>
    
    <?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>
    
    <br class="clearBoth" />
    
    <!--eof-branding 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-->
    <!--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>
    <?php } ?>
    Once I uploaded my tpl_header without the drop down code, everything went back to normal. Any idea what could be causing the problem?
    Completed: BellaFavori.com
    In Progress: WeddingDivasLV.com
    Coming Soon: ???

  4. #1694
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

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

    Quote Originally Posted by kburner View Post
    I looked thru forum and could not find answer...please let me know if there is one.

    At login page, I do not want category menu to show. How do I disable only at that page?

    https://www.burnerbooks.com/index.php?main_page=login
    Does anyone know code and file to put disable menu on pages like login, shopping cart, etc?

    I have sideboxes disabled with includes/temp/xxx/templates/common/tpl_main_pge.php with this code:

    //add page names that you want to disable left and right columns
    $center_column_only = array('login','account','no_account','checkout','create_account', 'shopping_cart');
    // the following IF statement can be duplicated/modified as needed to set additional flags
    if (in_array($current_page_base,$center_column_only) ) {
    $flag_disable_right = true;
    $flag_disable_left = true;
    }

    I figure it has to be similar....
    [FONT="Tahoma"]kburner[/FONT]
    Burner Christian Bookstore
    www.burnerbooks.com

  5. #1695
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

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

    Quote Originally Posted by CharInLasVegas View Post
    Hi - I tried to install this today, but when I uploaded my tpl_header my site went blank.

    Code:
    <?php
    
    /**
    
     * Common Template - tpl_header.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_header.php<br />
    
     * to override the global settings and turn off the footer un-comment the following line:<br />
    
     * <br />
    
     * $flag_disable_header = true;<br />
    
     *
    
     * @package templateSystem
    
     * @copyright 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_header.php 4813 2006-10-23 02:13:53Z drbyte $
    
     */
    
    ?>
    
    
    
    <?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-->
    
    <div id="navMainWrapper">
    
    <div id="navMain">
    
    <ul class="back">
    <li><a href="http://www.bellafavori.com/index.php?main_page=products_new">WHAT'S NEW</a></li>
    <li><a href="http://www.bellafavori.com/index.php?main_page=page_5">SPECIAL OFFERS</a></li>
    <li><a href="http://www.bellafavori.com/index.php?main_page=page_6">BRIDAL REGISTRY</a></li>
    <li><a href="http://www.bellafavori.com/index.php?main_page=page_7">BRIDAL SHOWS</a></li>
    <li><a href="http://www.bellafavori.com/index.php?main_page=page_8">EMAIL UPDATES</a></li>
    <li><?php if (!$_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>">LOGIN</a><?php } ?>
    <?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>">MY ACCOUNT</a> 
    <?php } ?><?php } ?>
    <?php if (!($_SESSION['COWOA'])) { ?><?php if ($_SESSION['customer_id']) { ?>
    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>">LOGOUT</a></li><?php } ?><?php } ?>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>">VIEW CART</a>
    <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>">CHECKOUT</a>
    <?php }?>
    
    </ul>
    
    </div>
    
    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    
    <br class="clearBoth" />
    
    </div>
    
    <!--eof-navigation display-->
    
    
    
    <!--bof-branding display-->
    
    <div id="logoWrapper">
    
        <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 (HEADER_SALES_TEXT != '') {
    
    ?>
    
          <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    
    <?php
    
                  }
    
    ?>
    
    <?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>
    
    <br class="clearBoth" />
    
    <!--eof-branding 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-->
    <!--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>
    <?php } ?>
    Once I uploaded my tpl_header without the drop down code, everything went back to normal. Any idea what could be causing the problem?
    Possibly you're like me and did not want the EZPages to show up in the menu. So I did not upload the EZPages file in the mod.

    After doing as you stated, I ran the debug file utility in the downloads area and it gave me the correct error.

    All it is line 79 in tpl_drop_menu.php. Find this line of code:
    Code:
    <?php require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . 'ezpages_drop_menu.php'); ?>
    and simply delete it or 'cut' it out and place in a spare readme file to remind yourself the mod you have made (saves alot of time for reference).

    After that, I got my site back! Hope this helps you.
    Thank you,
    autoace

  6. #1696
    Join Date
    Jan 2009
    Location
    Vegas Baby!
    Posts
    349
    Plugin Contributions
    0

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

    Quote Originally Posted by autoace View Post
    Possibly you're like me and did not want the EZPages to show up in the menu. So I did not upload the EZPages file in the mod.
    Quite right, I will give your fix a try *fingers crossed*. Thanks so much.
    Completed: BellaFavori.com
    In Progress: WeddingDivasLV.com
    Coming Soon: ???

  7. #1697
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

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

    Quote Originally Posted by kburner View Post
    Does anyone know code and file to put disable menu on pages like login, shopping cart, etc?

    I have sideboxes disabled with includes/temp/xxx/templates/common/tpl_main_pge.php with this code:

    //add page names that you want to disable left and right columns
    $center_column_only = array('login','account','no_account','checkout','create_account', 'shopping_cart');
    // the following IF statement can be duplicated/modified as needed to set additional flags
    if (in_array($current_page_base,$center_column_only) ) {
    $flag_disable_right = true;
    $flag_disable_left = true;
    }

    I figure it has to be similar....
    Anyone? I do not want menu to show on shopping cart and checkout pages similar to sideboxes.
    [FONT="Tahoma"]kburner[/FONT]
    Burner Christian Bookstore
    www.burnerbooks.com

  8. #1698
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

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

    Well I have this mod installed and working only to find out that there is actually a mod that does exactly what I am looking for: I want my top categories to be displayed across the top vs how this mod does it.

    I am planning on just deleting the files from the server. Does anyone know which files from this mod modify the core files and which ones do not?
    Thank you,
    autoace

  9. #1699
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

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

    Quote Originally Posted by autoace View Post
    Well I have this mod installed and working only to find out that there is actually a mod that does exactly what I am looking for: I want my top categories to be displayed across the top vs how this mod does it.

    I am planning on just deleting the files from the server. Does anyone know which files from this mod modify the core files and which ones do not?
    Please disregard the above post. The new mod actually contains the exact same file and folder structure. So I can just overwrite.
    Thank you,
    autoace

  10. #1700
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

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

    I am having some issues with CSS Horizontal Dynamic Menu (Paul's edition) - I already know that this is the wrong support thread (sorry). I have been searching the forums for the right one but can not seem to find it. Can someone please provide a link to it if they know of it - thank you.

    In addition, I would like to ask if someone could please take a look at my site, http://www. a u to m o t i v e a c e.com to see if they know what the problem is.

    Basically what I did was just overwrite the files when I ftp'd them. Same files and the same folder structure. It just does not display properly - seems to be centered in the middle and only the first 4 top-level categories display. The rest are there but its like they are hidden, you have to hover the mouse over them.

    Again, I apologize - I know this is the wrong thread, if someone can point in the right direction, that would be great. Thank you.
    Thank you,
    autoace

 

 

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