Page 139 of 235 FirstFirst ... 3989129137138139140141149189 ... LastLast
Results 1,381 to 1,390 of 2345
  1. #1381
    Join Date
    Nov 2004
    Location
    West Mids, England
    Posts
    203
    Plugin Contributions
    1

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

    Hi

    Not sure if this is the reason, but the code for your menu is in the footer of the shop, not the header. Any reason for this?

    Craig

  2. #1382
    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 desamothrace View Post
    Hi!

    I'm sorry if this topic is in repeat, I'm having a hard time finding my answers!

    I'm interested in adding additional links to my Information drop menu.
    Customizing any of the link references in tpl_drop_menu, once uploaded, removes the drop down menu completely from my site.
    I've tried to do the following:
    ~~remove Discount Coupons
    ~~ add topics Designer & Tutorial
    ~~(rather than use the given page_2, page_3, I've created custom pages: /tutorials.php /designer.php

    When the sidebox is activated (I'd prefer to have it off) the "designer" option is available, however I receive a 404 of the page not being found. I assume this correlates to the link issue above.

    www.candycornclothing.com/shop

    Thank you much!
    Jen
    My guess is that it has nothing to do with the drop down menu, but an error in how you've created the pages or edited the coding.

    If you type in the address of the new pages you've created, do they work? I.E.:
    http://www.candycornclothing.com/sho..._page=designer
    http://www.candycornclothing.com/sho...page=tutorials

    There's an "About Us" mod in the download section that shows you all the files you have to create to make new pages work.

    Also, can you give me an example of what you've tried adding to tpl_drop_menu.php?

  3. #1383
    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 CES View Post
    Hi

    Not sure if this is the reason, but the code for your menu is in the footer of the shop, not the header. Any reason for this?

    Craig
    Who are you asking? Me? I designed Apple Zen that way, so that people with REALLY big menus have the actual content of their site show first for the spiders.

  4. #1384
    Join Date
    Nov 2004
    Location
    West Mids, England
    Posts
    203
    Plugin Contributions
    1

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

    Quote Originally Posted by jettrue View Post
    Who are you asking? Me?
    Well not really.

    Quote Originally Posted by jettrue View Post
    I designed Apple Zen that way, so that people with REALLY big menus have the actual content of their site show first for the spiders.
    Thanks for explaining it though. I was just comparing to my site and the instructions to put the dropdown it in the header file.

    If you want me to keep my nose out in future, just say. ;-)

    Thanks for a great mod once again.

    Craig

  5. #1385
    Join Date
    Jul 2008
    Posts
    362
    Plugin Contributions
    0

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

    Im trying to get my css header menu to look like it is suppose to be in the header by maybe adding some rounded corners on each of the drop downs does anyone know if this is possible and how to do it?

  6. #1386
    Join Date
    Apr 2007
    Posts
    22
    Plugin Contributions
    0

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

    I have not seen this problem posted at this point. In reference to the EzPage menu, when I add the line <?php require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . 'ezpages_drop_menu.php'); ?> To tpl_drop_menu.php, the body of the page goes away in Mozilla v3.0.5. All the menus but ezpages menu operate but when selecting a choice the body of the web site does not show anything. But In IE 7.xx I can still see the body and the ezpage menu still does not work. When I comment out this line of code everything goes back to normal. The other menus work and link fine.

    Do I have the incorrect line of code in the file? Below is the content of my file: Thanks in advance for all your support on the mod – It’s a great addition to ZenCart.

    Code:
    <!-- menu area -->
    
    <div id="dropMenuWrapper">
      <div id="dropMenu">
        <ul class="level1">
     <!--You can manually put whatever additional links you like in using this structure -->
          <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>
            <ul class="level2">
              <li><a href="http://www.sensational-skin.com/sandbox/index.php?main_page=page_3">Directions to the office</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>
    
          
    <!-- This start the Catorgies list I added - John -->  
    
    <?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);
     
     
    ?>
        <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo "Our Products"; ?></a>
            <ul class="level2">
            <li><?echo $menulist;?> </li>
            </ul>
            </li>
    <!--This ends the Catagories list I added - John  -->    
    
    <!-- You can also add links on this side of your catefories menu -->
          <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_INFORMATION; ?></a>
            <ul class="level2">
              <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 HEADER_TITLE_CONDITIONS_OF_USE; ?></a></li>
              <li><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>"><?php echo HEADER_TITLE_ABOUT_US; ?></a></li>
              <?php if (defined('FILENAME_SITE_MAP')) { ?>
              <li><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo HEADER_TITLE_SITE_MAP; ?></a></li>
              <?php } ?>
              <li><a href="<?php echo zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_GV_FAQ; ?></a></li>
              <li><a href="<?php echo zen_href_link(FILENAME_DISCOUNT_COUPON, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_DISCOUNT_COUPON; ?></a></li>
              <li><a href="<?php echo zen_href_link(FILENAME_UNSUBSCRIBE, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_UNSUBSCRIBE; ?></a></li>
              
        </ul>
          </li>
          <li class="submenu" id="ezpages"><a>In Office Service</a>
    <ul class="level2">
    <?php require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . 'ezpages_drop_menu.php'); ?>
    </ul></li>
      
    <!-- this is where the orginal comment ended -->
           
      </div>
    </div>
    <div class="clearBoth"></div>

  7. #1387
    Join Date
    Nov 2008
    Location
    New York
    Posts
    9
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    My guess is that it has nothing to do with the drop down menu, but an error in how you've created the pages or edited the coding.

    If you type in the address of the new pages you've created, do they work?
    Thank you, you were correct. My links were not active. Corrected

    Quote Originally Posted by jettrue View Post
    There's an "About Us" mod in the download section that shows you all the files you have to create to make new pages work.
    Thank you, I have downloaded it and made following corrections to make my links active.

    Quote Originally Posted by jettrue View Post
    Also, can you give me an example of what you've tried adding to tpl_drop_menu.php?
    Sure! I haven't done any further adjustments than this, all that I've done is mimicked the code for the about us page:

    <li><a href="<?php echo zen_href_link(FILENAME_DESIGNER); ?>"><?php echo HEADER_TITLE_DESIGNER; ?></a></li>
    <?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?>

    I'm not skilled enough to know whether there is additional coding required or not.


    Thank you again! I need to buy you a coffee-- or tea.


    Jen

  8. #1388
    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 gee38l View Post
    Im trying to get my css header menu to look like it is suppose to be in the header by maybe adding some rounded corners on each of the drop downs does anyone know if this is possible and how to do it?
    Sorry, I don't support adding images to the menu, it's too complicated, but perhaps someone else has done this.

  9. #1389
    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 johnkosh View Post
    I have not seen this problem posted at this point. In reference to the EzPage menu, when I add the line <?php require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . 'ezpages_drop_menu.php'); ?> To tpl_drop_menu.php, the body of the page goes away in Mozilla v3.0.5. All the menus but ezpages menu operate but when selecting a choice the body of the web site does not show anything. But In IE 7.xx I can still see the body and the ezpage menu still does not work. When I comment out this line of code everything goes back to normal. The other menus work and link fine.

    Do I have the incorrect line of code in the file? Below is the content of my file: Thanks in advance for all your support on the mod – It’s a great addition to ZenCart.
    It doesn't have anything to do with the file. You haven't uploaded all languages files to their correct spots. Check, double, triple, and quadruple (you get the point) check.

  10. #1390
    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 desamothrace View Post
    Thank you, you were correct. My links were not active. Corrected


    Thank you, I have downloaded it and made following corrections to make my links active.



    Sure! I haven't done any further adjustments than this, all that I've done is mimicked the code for the about us page:

    <li><a href="<?php echo zen_href_link(FILENAME_DESIGNER); ?>"><?php echo HEADER_TITLE_DESIGNER; ?></a></li>
    <?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?>

    I'm not skilled enough to know whether there is additional coding required or not.


    Thank you again! I need to buy you a coffee-- or tea.


    Jen
    Hi there.

    Coffee please

    If you add the code "FILENAME_DESIGNER" or "HEADER_TITLE_DESIGNER", those are called defines, and you have to define them in a languages file somewhere.

    But instead of that, I'll give you a hint (the kind that makes you smack yourself on the head). Just enter the link instead:
    Code:
    <li><a href="index.php?main_page=designer">Designer</a></li>
    (don't use the <?php if (DEFINE_SITE_MAP_STATUS <= 1) { ?> code, that is for the next link)

 

 

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