Results 1 to 10 of 2344

Hybrid View

  1. #1
    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 Still Crazy View Post
    Me Again!

    I would like to add a manufacturers list to the drop down menu such that each manufacturers products could be listed in a similar manner to the categories drop down.

    I could add the new category in the HTML:
    Code:
    <li class="submenu">MAMUFACTURERS</a>
      <ul class="level2">
        <li><a href="index.php?main_page=index&amp;cPath=2">This Manufacturer</a></li>
        <ul class="level3">
            <li class="submenu"> <a href="index.php?main_page=index&amp;cPath=4">Product 1</a></li>
            <li class="submenu"> <a href="index.php?main_page=index&amp;cPath=4">Product 2</a></li>
            <li class="submenu"> <a href="index.php?main_page=index&amp;cPath=4">Product 3</a></li>
          </ul>
        <li class="submenu"><a href="index.php?main_page=index&amp;cPath=3">That Manufacturer</a> 
          <ul class="level3">
            <li class="submenu"> <a href="index.php?main_page=index&amp;cPath=4">Product 1</a></li>
            <li class="submenu"> <a href="index.php?main_page=index&amp;cPath=4">Product 2</a></li>
            <li class="submenu"> <a href="index.php?main_page=index&amp;cPath=4">Product 3</a></li>
          </ul>
        </li>
      </ul>
    </li>
    But longer term that would be difficult to maintain. I had hoped to be able to assign products to manufacturers in some way rather than input each one individually, and the whole menu be built dynamically.

    So, what is the best "Zen like " way to do this?

    Many thanks!
    Hi!

    Sorry, I don't have a simple answer for this, and don't have a simple solution. If I were planning to design this, I'd perhaps start by looking at includes/classes/categories_ul_generator.php and includes/modules/sideboxes/maufacturers.php. However, I don't have the time to develop this mod, and I feel it would probably be fairly complicated. So for now, manual is the way to go....

  2. #2
    Join Date
    Sep 2006
    Location
    Derby UK
    Posts
    99
    Plugin Contributions
    0

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

    Hi Jade, thanks for your quick response.

    Your answer is not what I wanted, but was what I expected if you see what I mean!

    I have already spent some time experimenting with the categories_ul_generator.php file, so will continue to do this now I know that I am working in the right area.

    In the short term I will probably hard code the links - I think it will be worth the effort as I believe there could be some SEO advantages if used correctly ;)

    Thanks again.
    Crazy



  3. #3
    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 Still Crazy View Post
    Hi Jade, thanks for your quick response.

    Your answer is not what I wanted, but was what I expected if you see what I mean!

    I have already spent some time experimenting with the categories_ul_generator.php file, so will continue to do this now I know that I am working in the right area.

    In the short term I will probably hard code the links - I think it will be worth the effort as I believe there could be some SEO advantages if used correctly ;)

    Thanks again.
    I would create a new file, perhaps called manufacturers_ul_generator.php and wouldn't try to get the manufacturers to mix in with the categories code. GOOD LUCK!

 

 

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

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