Results 1 to 10 of 357

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Is the Pure CSS Mega Menu compatible with 1.5.5f - My Responsive Classic template? I've installed it and it is a mess.

  2. #2
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    I did the same thing, and I am still working through it too. I will keep posting as I go. I just found out the mega menu is not responsive. What I did was keep the mega menu for my desktop and put this code below in responsive.css and responsive_mobile.css. Not sure if you made a custom template or not. If you did copy those two files in your custom template css folder with the changes.

    @media (min-width:0px) and (max-width:480px){ #mega-wrapper { display:none;visibility:hidden; }

    Now the problem I am working on is this works until they get to the product info page, then the menu is loosing the css. That may be do to other changes I made. I would be interested if you do not have that problem if you try my fix. That may head me in the right directions too.

    Good Luck hope this helps. And I will keep updating as I figure it out.

  3. #3
    Join Date
    May 2005
    Posts
    539
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Just installed on a local server zc 2.0.1 and then installed Bootstrap template. Thought I would see if I could get this mega menu working, but there is a slight issue to this ...... I am not a coder.

    I have managed to change the language file and get it working, but there are loads of other errors which mean that the site does not load. I have found out for example if you have no manufactures listed against product it will not work. Not solved the issue other than adding a manufacturer and assigning it to a product. So now I have this error: PHP Warning: Undefined array key "customer_id" in .......bootstrap\common\tpl_mega_menu.php on line 197. Is there any thing I should be doing help migrate this across to PHP8 and the new version of ZC. Has anyone else used this in with the bootstrap template? Thank you in advance for your help.

  4. #4
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,838
    Plugin Contributions
    31

    Default Re: Pure CSS Mega Menu

    Recently I tried it out and cleaned it up for dropping into responsive classic

    https://github.com/torvista/Zen_Cart-Pure_CSS_Mega_Menu

    but have ended up not using it for the moment.
    Maybe that's of use/ you could add your fixes for Bootstrap.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  5. #5
    Join Date
    May 2005
    Posts
    539
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    torvista, thank you for the link I shall take a look and post back any thing I discover that will help others. Looking at the change logs you list on github your fixes seem to highlight the errors that the zc logs are reporting for me, so hopefully all will work. Thank you.

  6. #6
    Join Date
    May 2005
    Posts
    539
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Okay this is the error that I get PHP Fatal error: MySQL error 1054: Unknown column 'pages_title' in 'order clause' :: select * from ezpages where status_header = 1 order by header_sort_order, pages_title ==> (as called by) \WWW-Server\........\includes\modules\sideboxes\bootstrap\ezpages_drop_menu.php on line 23 <== in \WWW-Server\.......\includes\classes\db\mysql\query_factory.php on line 714.

    Looking at the tables using php admin the pages_title is not in ezpages but in ezpages_content

    I have tried this at line 23 and seems to work:

    $page_query = $db->Execute("select *, ".TABLE_EZPAGES_CONTENT .".pages_title from " . TABLE_EZPAGES . " JOIN ". TABLE_EZPAGES_CONTENT. " ON ezpages.pages_id = ". TABLE_EZPAGES_CONTENT .".pages_id where status_header = 1 order by header_sort_order, pages_title");


    Hope that helps others get the menu into their template this is my first foray into coding for a while and I was never an expert anyway. If anyone sees any issues regarding security or anything else to do with the query or performance then please feedback or comment. I have not done anything regarding the CSS and boostrap yet but will continue to test.

    Thanks

 

 

Similar Threads

  1. Help with Mega Menu css customization
    By swdynamic in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jul 2013, 01:21 AM
  2. v139h Mega Menu Mess
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Nov 2012, 07:58 PM
  3. v150 Mega Menu assistance
    By Fancyfrills in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 24 Aug 2012, 06:16 PM
  4. Horizontal Drop Menu sort order of mega-menu
    By familynow in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 19 Oct 2011, 04:39 PM

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