Thread: Dropdown Menus

Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2009
    Posts
    15
    Plugin Contributions
    0

    Default Dropdown Menus

    I have installed Zen Cart 1.3.8a on a Web server and am creating a custom template. I am following the customization recommendations that I found on the wiki. Also, as I go along, I am making some modifications through Admin. In general I seem to be making progress.

    From Admin, I have turned off EZ-Pages. Now I would like to create a row of dropdown menus along the golden bar that begins with the word "Home". The menus will link to other pages or to sections of those pages.

    I have created dropdown menus in a local HTML and JavaScript prototype, but it is not clear to me how to do the same thing in Zen Cart. How should I proceed, or where would I obtain the relevant information?

    Thank you very much for your assistance!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Dropdown Menus

    Check the downloads area as there are more than one already packaged up

  3. #3
    Join Date
    Oct 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Dropdown Menus

    kobra,

    Thank you for your response! I checked out the Free Software Add Ons and downloaded the CSS Flyout Header from Jade True.

    After reading the README and the forum thread, it seems that the CSS Flyout Header would not offer the flexibility that I am looking for. For example, I would like to add an EVENTS dropdown that lists different types of events held at the brick and mortar store.

    Would you be aware of something that might suit my needs?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Dropdown Menus

    For that module in it's tpl_drop_menu.php one could add another <li> html statement like in red

    Code:
        <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>
              <li><a href="link_to_events_page">Events</a></li>
            </ul>
    Or even embed andther /ul then a list of li's for events
    All the versatility one could want

  5. #5
    Join Date
    Oct 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Dropdown Menus

    kobra,

    Today I tried EZ-Pages.

    Thanks for your idea!

  6. #6
    Join Date
    Oct 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Dropdown Menus

    kobra,
    Thank you for your suggestion. I successfully added a test link to the dropdown by following your example.

 

 

Similar Threads

  1. v151 Dynamic Dropdown Menus on Product Page
    By evildave in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Oct 2013, 05:08 PM
  2. dropdown menus
    By wolfsden in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 14 Jun 2008, 07:13 PM
  3. CSS Dropdown Menus
    By SyntheticShield in forum General Questions
    Replies: 2
    Last Post: 20 May 2007, 01:35 PM
  4. dropdown menus - suckerfish - basics?
    By mafiasam in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 21 Aug 2006, 06:33 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