Results 1 to 10 of 2344

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    74
    Plugin Contributions
    0

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

    Hi,

    Ez-pages are not rendered in dropdown menu (below discount coupons). See pic



    clicking on the empty fields is working though.


    template: Apple Zen
    Mod: Multilanguage Ez-pages
    version: Zen-Cart 1.3.7

    Any idea?
    grmx

  2. #2
    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 mrtorrez View Post
    Hi,

    Ez-pages are not rendered in dropdown menu (below discount coupons). See pic



    clicking on the empty fields is working though.


    template: Apple Zen
    Mod: Multilanguage Ez-pages
    version: Zen-Cart 1.3.7

    Any idea?
    grmx
    Hello,

    I've never tested this with the multilanguage ez-pages mod. Do you have your language file for this mod in this location:

    includes/languages/YOUR_LANGUAGE/extra_definitions/YOUR_TEMPLATE/headermenu.php

  3. #3
    Join Date
    Aug 2006
    Posts
    74
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    Hello,

    I've never tested this with the multilanguage ez-pages mod. Do you have your language file for this mod in this location:

    includes/languages/YOUR_LANGUAGE/extra_definitions/YOUR_TEMPLATE/headermenu.php
    Yes, for all languages.

    maybe something is incompatible in:
    includes/modules/sideboxes/YOUR-TEMPLATE/ezpages_drop_menu.php ?

    grmx

  4. #4
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

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

    Quote Originally Posted by mrtorrez View Post
    Yes, for all languages.
    maybe something is incompatible in:
    includes/modules/sideboxes/YOUR-TEMPLATE/ezpages_drop_menu.php ?
    For testing purposes, check line 23 in the above file. If you have "and sidebox_sort_order > 0" on that line, then remove that code. Does that help?

    Woody

  5. #5
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

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

    This is likely self evident to most but in case not...

    If you do not have the "Discount Coupon" Order Totals mod installed/enabled then you will want to disable the display of "Discount Coupons" item on the Information dropdown menu.

    Do this by adding an if conditional, similar as is done for the GV_FAQ and UNSUBSCRIBE links.

    Edit tpl_drop_menu.php

    Above the link line, before <li>, add:

    <?php if (MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') ( ?>

    Then below the link line, after </li>, add:

    <?php ) ?>

    (If this was discussed in this thread previously I could not locate such reference.)

    Woody

  6. #6
    Join Date
    Aug 2006
    Posts
    74
    Plugin Contributions
    0

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

    Quote Originally Posted by Woodymon View Post

    Quote:
    Originally Posted by mrtorrez View Post

    Yes, for all languages.
    maybe something is incompatible in:
    includes/modules/sideboxes/YOUR-TEMPLATE/ezpages_drop_menu.php ?

    For testing purposes, check line 23 in the above file. If you have "and sidebox_sort_order > 0" on that line, then remove that code. Does that help?


    Woody
    Woody, thanks for the hint!
    I've completely replaced line 23 in includes/modules/sideboxes/YOUR-TEMPLATE/ezpages_drop_menu.php with the following code:

    $my_query = "select n.*, ml.* FROM " . TABLE_EZPAGES . " n, " . TABLE_EZPAGES_TEXT . " ml
    where n.status_header = 1
    AND '" . $_SESSION['languages_id'] . "' = ml.languages_id
    order by n.sidebox_sort_order, n.pages_title";

    $page_query = $db->Execute($my_query);



    It's now working with the Multilanguage Ezpages-mod except the ezpages-titles are shown too as list in the header (below logo).
    I think this is another issue?

    grmx

  7. #7
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

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

    Quote Originally Posted by mrtorrez View Post
    It's now working with the Multilanguage Ezpages-mod except the ezpages-titles are shown too as list in the header (below logo).
    I think this is another issue?
    Thanks for reporting back. Hope your solution will help others.

    Do you not want to apply the header sort order in the menu bar (in case you want to also show Ez-Pages in a normal sidebox with a different sort)?

    I don't know if it is the same with the multilanguage EZ-Pages module but can you disable display of the EZ-Pages header in ZC Admin > Config > EZ-Pages Settings > EZ-Pages Display Status - HeaderBar > set to 0.

    Woody

  8. #8
    Join Date
    Aug 2006
    Posts
    74
    Plugin Contributions
    0

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

    Quote Originally Posted by Woodymon View Post
    Thanks for reporting back. Hope your solution will help others.

    Do you not want to apply the header sort order in the menu bar (in case you want to also show Ez-Pages in a normal sidebox with a different sort)?

    I don't know if it is the same with the multilanguage EZ-Pages module but can you disable display of the EZ-Pages header in ZC Admin > Config > EZ-Pages Settings > EZ-Pages Display Status - HeaderBar > set to 0.

    Woody
    Solved, there was a little piece of testing-code left.

    BTW a little tweaking in the mysql-code:

    $my_query = "select n.*, ml.* FROM " . TABLE_EZPAGES . " n, " . TABLE_EZPAGES_TEXT . " ml
    where n.status_header = 1
    AND '" . int()$_SESSION['languages_id'] . "' = ml.languages_id
    order by n.sidebox_sort_order, n.pages_title";

    $page_query = $db->Execute($my_query);

  9. #9
    Join Date
    Jul 2009
    Posts
    126
    Plugin Contributions
    0

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

    Quote Originally Posted by mrtorrez View Post
    Woody, thanks for the hint!
    I've completely replaced line 23 in includes/modules/sideboxes/YOUR-TEMPLATE/ezpages_drop_menu.php with the following code:

    $my_query = "select n.*, ml.* FROM " . TABLE_EZPAGES . " n, " . TABLE_EZPAGES_TEXT . " ml
    where n.status_header = 1
    AND '" . $_SESSION['languages_id'] . "' = ml.languages_id
    order by n.sidebox_sort_order, n.pages_title";

    $page_query = $db->Execute($my_query);



    It's now working with the Multilanguage Ezpages-mod except the ezpages-titles are shown too as list in the header (below logo).
    I think this is another issue?

    grmx


    THANK YOU, so very much.. i did not know what to do anymore!!
    this was a great help.

 

 

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