Page 24 of 235 FirstFirst ... 1422232425263474124 ... LastLast
Results 231 to 240 of 2345
  1. #231
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Dropdown Menu Categories Remove

    Quote Originally Posted by jben View Post
    Hello, I tried to take out the Categories in the dropdown menu because I have them as a side menu, discount coupon and the About us, I did this in tpl_drop menu

    How do I remove them from the menu header completely?

    Thank you in advance for your help.
    What did you do in tpl_drop_menu.php? You take this part out:

    Code:
          <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo HEADER_TITLE_CATEGORIES; ?></a>
            <?php
    
     // load the UL-generator class and produce the menu list dynamically from there
     require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
     $zen_CategoriesUL = new zen_categories_ul_generator;
     $menulist = $zen_CategoriesUL->buildTree(true);
     $menulist = str_replace('"level4"','"level5"',$menulist);
     $menulist = str_replace('"level3"','"level4"',$menulist);
     $menulist = str_replace('"level2"','"level3"',$menulist);
     $menulist = str_replace('"level1"','"level2"',$menulist);
     $menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
     $menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
     echo $menulist;
    ?>
          
          </li>

  2. #232
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    0

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

    Hello, that was taken out but it did not do anything but mess the categories header up?
    cagedtalent.com/store
    Here is the code

    Thank you for your help
    </ul>
    </li>
    <li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CONTACT_US; ?></a></li>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
    <ul class="level2">
    <?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL'); ?>"><?php echo HEADER_TITLE_NEWSLETTERS; ?></a></li>
    <?php } else { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></a></li>
    <?php } ?>
    </ul>
    </li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
    <ul class="level2">
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    </ul>
    </li>
    <?php } else { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <?php } ?>
    </ul>
    </div>
    </div>
    <div class="clearBoth"></div>

  3. #233
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

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

    Ahh.....jben, you are on here today. Did I do something to offend you, as I was trying to help with this issue. The menu's you asked me to do for you is in the code that I p.m.'d you. It IS without the categories. I will post it here. If you want it, then, by all means, here it is:

    ?>
    <!-- menu area -->

    <div id="dropMenuWrapper">
    <div id="dropMenu">
    <ul class="level1">
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>
    <ul class="level2">
    <li><a href="<?php echo zen_href_link(FILENAME_PRODUCTS_NEW); ?>"><?php echo HEADER_TITLE_NEW_PRODUCTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL); ?>"><?php echo HEADER_TITLE_ALL_PRODUCTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_SPECIALS); ?>"><?php echo HEADER_TITLE_SPECIALS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ADVANCED_SEARCH); ?>"><?php echo HEADER_TITLE_SEARCH; ?></a></li>
    </ul>
    </li>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
    <ul class="level2">
    <?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL'); ?>"><?php echo HEADER_TITLE_NEWSLETTERS; ?></a></li>
    <?php } else { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></a></li>
    <?php } ?>
    </ul>
    </li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
    <ul class="level2">
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    </ul>
    </li>
    <?php } else { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <?php } ?>



    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo HEADER_TITLE_SHIPPING_INFO; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_PRIVACY); ?>"><?php echo HEADER_TITLE_PRIVACY_POLICY; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CONDITIONS); ?>"><?php echo TERMS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CONTACT_US; ?></a></li>


    <li><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo HEADER_TITLE_SITE_MAP; ?></a></li>

    </ul>
    </div>







    <div class="clearBoth"></div>



    And, again, I'm sorry if I somehow offended you, or just didn't help enough. I could have done all of this FOR you, but didn't figure that you would let a total stranger into your server, so I never asked for the info.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  4. #234
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    0

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

    Hello, Get' em fast, you have helped me tremendously, I really appreciate it. I am just exploring all avenues, because I would really like to learn about this from all different aspects of the zen cart, the good the bad, that is the only way I will learn this stuff.

    I will pm you later, I fixed it thanks to you, I just wanted to see if there was another way, thats all. Thank you because I was getting an error, but it's perfect now, go take a look!

    THANK YOU HAVE A BLESSED DAY!

  5. #235
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

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

    O.k. I understand totally. I've done the same thing a hundred times in here, but I just had to know if you were doing the same, or if I done something wrong. Glad to hear your answer.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  6. #236
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

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

    Hello Jade and all, this is my very first post, I waited as long as I could to join in...

    -I installed the DD menu and thought I did everything right, but my general content (except for above elements like logo is gone!) I used to have a 'Specials' box, 'New Products for May' boxes, etc...

    -Also, when I scroll between first and second header items, the screen shifts left to right constantly.

    Bear with me I am very very new to this but a fast learner and I don't want to give up. Before I post a link, is there anything I should 'protect' first?? (Sorry..'hate being a newbie...

    TIA,
    Tatiana

  7. #237
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

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

    Oh and I get these messages under 'Newsletter Unsubscribe'... I didn't tinker much so I'm baffled why it would happen... help?

    Thanks, Tat.
    PS WR is my template directory...
    ~~~

    Warning
    : main(includes/modules/sideboxes/WR/ezpages_drop_menu.php) [function.main]: failed to open stream: No such file or directory in /homepages/44/d205662926/htdocs/zencart/includes/templates/WR/common/tpl_drop_menu.php on line 70

    Fatal error: main() [function.require]: Failed opening required 'includes/modules/sideboxes/WR/ezpages_drop_menu.php' (include_path='.:/usr/local/lib/php') in /homepages/44/d205662926/htdocs/zencart/includes/templates/WR/common/tpl_drop_menu.php on line 70
    Last edited by tatiana77; 23 May 2007 at 06:07 AM.

  8. #238
    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 tatiana77 View Post
    Hello Jade and all, this is my very first post, I waited as long as I could to join in...

    -I installed the DD menu and thought I did everything right, but my general content (except for above elements like logo is gone!) I used to have a 'Specials' box, 'New Products for May' boxes, etc...

    -Also, when I scroll between first and second header items, the screen shifts left to right constantly.

    Bear with me I am very very new to this but a fast learner and I don't want to give up. Before I post a link, is there anything I should 'protect' first?? (Sorry..'hate being a newbie...

    TIA,
    Tatiana
    Looks like there's a problem with finding tpl_drop_menu.php or ezpages_drop_menu.php. Confirm that it is uploaded correctly.

  9. #239
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    Looks like there's a problem with finding tpl_drop_menu.php or ezpages_drop_menu.php. Confirm that it is uploaded correctly.
    Uploaded:

    includes/templates/WR/common/tpl_drop_menu.php

    includes/modules/sidenboxes/WR/ezpages_drop_menu.php

    WR = YOUR_TEMPLATE

    Thanks, Tatiana

  10. #240
    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 tatiana77 View Post
    Uploaded:

    includes/templates/WR/common/tpl_drop_menu.php

    includes/modules/sidenboxes/WR/ezpages_drop_menu.php

    WR = YOUR_TEMPLATE

    Thanks, Tatiana
    I'm assuming your above "sidenboxes" is just a typo, and its actually uploaded to a folder named "sideboxes"?

 

 

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