Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Posts
    17
    Plugin Contributions
    1

    Default Fluorspar - add New and Specials to dropdown menu

    I'm using ZC 2.01 and Fluorspar 1.8

    I'd like to add "New Products" and "Specials" to the dropdown menu under "Shop".

    You can see it at https://zencart6.webdesign.place/

    I've looked at tpl_mega_menu.php and believe this is the relevant section

    Code:
              <ul class="mega-menu "><!-- bof mega-menu -->
                   <li class="categories-li fullwidth"><a class="drop first_Item" href="#"><?php echo HEADER_TITLE_CATEGORIES; ?></a><!-- bof cateories    -->
                        <div class="dropdown_expand ">
                             <div class="levels">
                             <?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;
                                  ?>
                             </div>
                        </div>
                   </li><!-- eof categories  -->

    and I've looked at categories_ul_generator.php

    but I can't work out where to put the items I want.

    Thanks in advance!

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Fluorspar - add New and Specials to dropdown menu

    You'll possibly have more response if you post your query in the Fluorspar template's support-thread: https://www.zen-cart.com/showthread....late-Fluorspar

 

 

Similar Threads

  1. v157 New Template fluorspar
    By jbniceguy in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 8 Mar 2021, 12:15 PM
  2. v139h How to add a new menu in admin not menu item a new menu
    By diptimoy in forum General Questions
    Replies: 4
    Last Post: 10 Jan 2018, 06:26 PM
  3. v150 How to add new links in dropdown menu in Admin?
    By andrewnguyen in forum General Questions
    Replies: 1
    Last Post: 21 Feb 2012, 05:35 AM
  4. Help! How to add Sold to Specials and New Products only?
    By jamana in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Aug 2009, 10:55 PM
  5. add specials and new product as part of category tabs
    By newagekat in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Mar 2009, 04:17 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