Page 6 of 24 FirstFirst ... 4567816 ... LastLast
Results 51 to 60 of 240
  1. #51
    Join Date
    Jan 2005
    Posts
    8
    Plugin Contributions
    0

    Re: Css Flyout Categories Menu troubles

    I too had this problem and I found it was due to the database prefix not in the code.


    I got it figured out...I went into mysql and found out what my database prefix was in this case:

    zen_

    I then opened up the original tpl_categories.php and edited lines (be sure to back up the original)
    17 & 40 I added the zen_ in front of the categories

    original line 17
    $querydrop = "select parent_id,categories_id from categories";

    corrected line 17

    $querydrop = "select parent_id,categories_id from zen_categories";


    I did the same on line 40

    original line 40

    $querydrop = "select categories_name,categories_id from categories_description";

    corrected line 40

    $querydrop = "select categories_name,categories_id from zen_categories_description";

    now my catagory menu is working like a charm! now if only I can figure out how to get the menu to sort the catgories by sort order and not by catagory id and I'll be golden!

    I hope this helps ya'll


    VJ

    ps remember if your database prefix is something else like xyz_ , remember to put that in instead of the above example zen_

  2. #52
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Css Flyout Categories Menu troubles

    Just in case someone gets confused by the above post, the code vjsibley is talking about is unrelated to the CSS Flyout menu contribution being discussed here. However, the point about using the proper database tablename is valid, if you aren't using standard Zen Cart constants to reference tablenames.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #53
    Join Date
    May 2006
    Posts
    55
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    So whats he's talking about in the above post wont fix the problem everyone here is having?

  4. #54

    Idea or Suggestion Re: Css Flyout Categories Menu troubles

    Quote Originally Posted by duckydoodles.com
    However, I still have two problems. There is no room between my flyout menu and the sidebox underneath that. This only occurs in FireFox, there is enough space when its displayed in IE. But I also have a light blue line at the bottom of my flyout menu. Any ideas?
    I had the same issue with css flyout in firefox, but it worked flawlessly in IE.
    After hunting for days for missing divs or errors in the code (being a new Zen hacker myself), I seem to have found a cure in the css:
    Look for

    div#nav-cat {float: left; width: 140px; margin: -1px 0 0 -1px;
    background-color: #CE318C; font-weight:bold;}

    and simply change to:

    div#nav-cat {width: 140px; margin: -1px 0 0 -1px;
    background-color: #CE318C; font-weight:bold;}

    It worked for me. Can anyone explain to me why it works? :) DrByte?

    f.
    Last edited by fricy; 23 Jun 2006 at 05:28 PM. Reason: missing quote

  5. #55
    Join Date
    May 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    I can't seem to get the css flyout menu to work using IE6. There is no cascading on mouseover.

    Works fine in Firefox.

    Any ideas?

    cf

    [Update: I forgot to install the csshover.htc]
    Last edited by chris_five; 11 Jul 2006 at 07:39 PM.

  6. #56
    Join Date
    Mar 2006
    Posts
    199
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Not sure if this is best placed here or in the css flyout thread, guess I'll try both.

    Since installing IH2, my flyout css categories show up underneath the pictures...see here: http://www.divaknitting.com/testzens...cPath=18_65_66

    How can I correct this so that the menu shows on top?
    Zen Cart: Diva Knitting

  7. #57
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Css Flyout Categories Menu troubles

    In your stylesheet_menu.css, you have a line that says:
    Code:
    div#nav-cat li {position: relative; list-style: none; margin: 0;
    simply add this on the next line:
    Code:
    z-index: 1;
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #58
    Join Date
    Mar 2006
    Posts
    199
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Thank you! I new it had to be something simple :)
    Zen Cart: Diva Knitting

  9. #59
    Join Date
    Apr 2004
    Location
    Montreal
    Posts
    755
    Plugin Contributions
    1

    Default Re: Css Flyout Categories Menu troubles

    Ok, I'm having a somewhat minor issue with this as well.

    I'm also using tabbedproducts lite and the issue is the css menu places under the tabbedproducts lite thus the flyout is part hidden under the tabbed display.

    Any clues on this?
    IntelCos

  10. #60
    Join Date
    Jun 2006
    Location
    Central Massachusetts
    Posts
    62
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Great contribution and it works great in both IE and Firefox. Just have one question about the posiblity of putting all the code genrated by this into a .js file. I have a long list of links generated by this flyout menu and it is adding a lot (and i mean a lot) of code to the page. This is causing the relevant part of my page down more that 47Kb from the tope of the page.
    The resulting situation is that my listing in Google is suffering. I have found it to be true aht if you can have the relevant content start with in the first 5Kb of the page then it can and will really help you in the organic listings and also reduce your cost in PPC.

    Anyone have any idea if it would work to put this all in a .js file so that it will reduce my page size by 40-50KB and allow my real content to be closer to the top of the hmtl page when spidered by Google, Yahoo etc.

    Any comments are geatly welcomed

    Site is at http://www.labgeardirect.com/catalog

 

 
Page 6 of 24 FirstFirst ... 4567816 ... LastLast

Similar Threads

  1. CSS flyout menu- categories box
    By partyparcels in forum Addon Sideboxes
    Replies: 3
    Last Post: 13 Apr 2008, 12:06 AM
  2. CSS Flyout Menu - separate to two main categories
    By TomCZ in forum General Questions
    Replies: 0
    Last Post: 17 Mar 2007, 08:07 PM
  3. CSS Categories Flyout Menu - ie/firefox display problem
    By Still Crazy in forum Addon Sideboxes
    Replies: 4
    Last Post: 18 Dec 2006, 03:30 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