Results 1 to 10 of 2344

Hybrid View

  1. #1

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

    Quote Originally Posted by marksu View Post
    Well never mind.

    I made the changes my self it was mutch simpler than I thought.

    Not sure if anyone care as not mutch communication hre but if somebody need solution here it is.

    It is based on my earlier design which enables to add ezpaged filtering which groups they belong.

    It would be even better code if it could outomatically check if multi languge expages module is installed instead of using comments character. Wen I dont know how to do it so this will do.

    // --------------------


    If ($chapNumber != ""){

    // USE THIS IS MULTI-LANGUGE EZPAGES MODULE NOT INSTALLED
    // $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where toc_chapter = " . $chapNumber . " and status_header = 1 order by header_sort_order, pages_title");

    // USE THIS IS MULTI-LANGUGE EZPAGES MODULE IS INSTALLED
    // query modified for multi-language support
    $page_query = $db->Execute("select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, et.pages_title
    from " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et
    where toc_chapter = " . $chapNumber . " and e.pages_id = et.pages_id
    and et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
    and status_header = 1
    and header_sort_order > 0
    order by header_sort_order, pages_title");
    // end of modification


    } else

    {
    // USE THIS IS MULTI-LANGUGE EZPAGES MODULE NOT INSTALLED
    $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_header = 1 order by header_sort_order, pages_title");

    // USE THIS IS MULTI-LANGUGE EZPAGES MODULE IS INSTALLED
    // query modified for multi-language support
    $page_query = $db->Execute("select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, et.pages_title
    from " . TABLE_EZPAGES . " e, " . TABLE_EZPAGES_TEXT . " et
    where e.pages_id = et.pages_id
    and et.languages_id = '" . (int)$_SESSION['languages_id'] . "'
    and status_header = 1
    and header_sort_order > 0
    order by header_sort_order, pages_title");
    // end of modification
    }
    // --------------------

    marksu
    I am having a problem where EZPage titles will not appear on the CSS Drop Down menu. I am using the Spanish language pack with the most current version of ZenCart and this CSS Dropdown menu. The above code appears that it may correct the problem, but does not list how or where to implement it. Also, strangely, the default EZPage links (I've left the external link to ZenCart on the menu) work OK, but any pages added do not show up on the Header Menu. They show up and translate just fine on the sidebox and footer menus. I have searched for hours to no avail. Any suggestions? The site I am referring to is: http://www.altaonemedical.com/index.php Thanks
    BenchmarkDesign.Net - Integrated Media Solutions

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

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

    Seems to me as if the links are there but no words are showing in the dropdown.

    Have you got all the page titles entered? Not sure how it works with multi languages, I only ever work with english.

    Sorry I cannot help more.

    You need to change your admin directory too. See here:
    http://www.zen-cart.com/wiki/index.p...ecommendations

    Craig

  3. #3

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

    Quote Originally Posted by CES View Post
    Seems to me as if the links are there but no words are showing in the dropdown.

    Have you got all the page titles entered? Not sure how it works with multi languages, I only ever work with english.

    Sorry I cannot help more.

    You need to change your admin directory too. See here:
    http://www.zen-cart.com/wiki/index.p...ecommendations

    Craig
    The titles are all entered. Thanks for the security suggestion, I will be doing that and other measures. Still not done with the site yet. Thanks
    BenchmarkDesign.Net - Integrated Media Solutions

  4. #4
    Join Date
    Jul 2006
    Location
    UK
    Posts
    165
    Plugin Contributions
    0

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

    Hi,

    I seem to be having spacing issues which is forcing my menu onto 2 lines.

    Does anyone know how I need to edit the css file to fix this issue? I have tried many variations of the css code already but nothing seems to work.

    Since I can't have it on a live website at the moment here is a screenshot of what I mean:



    Any suggestions would be most welcome please.

    Cheers
    Claire

  5. #5
    Join Date
    Mar 2010
    Posts
    8
    Plugin Contributions
    0

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

    Hi, I am a newbie to zen cart. I have installed the css flyout menu and it all works well but when I adjust the website template width to auto, the menu width got auto adjusted but the sub menu is not. How can I adjust that? My website http://www.bruneipartyshop.com

 

 

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