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!

    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

  2. #2
    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

  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 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);

  4. #4
    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