Page 1 of 2 12 LastLast
Results 1 to 10 of 240

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    38
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Dear Dr. Byte,

    If you are available, I have a rather silly question: How do you code the css flyout menu to NOT show "Document General" categories.

    I am asking this for personal reasons because I tried to have two sepearte categories showing in different category boxes - one being the "category" side box and the other being "document" side box.

    I know that the original category box will not show "Document General" cats. Can this css flyout category box not show "Document Category" as well?

  2. #2
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    help question Re: Css Flyout Categories Menu troubles

    Quote Originally Posted by frank_lyy View Post
    Read this post by Dr. Byte:

    and make sure you add to the first line of your .htaccess file
    I was sure that was the answer, but had not come up with a way to do this that did not break the access.

    I followed your advise in the other posts with no results - No error but it is not forcing the URL to the www, which is what I need it to do.

    Here's the .htaccess code that follows "after" the standard order, deny allow...


    php_flag register_globals off
    php_flag session.use_trans_sid off

    RewriteEngine On

    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

  3. #3
    Join Date
    Sep 2006
    Posts
    38
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Quote Originally Posted by rwoody View Post
    I was sure that was the answer...

    php_flag register_globals off
    php_flag session.use_trans_sid off

    RewriteEngine On

    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
    Suggestions:
    1. Remove the two lines start with "php_flag"
    2. Consult your web hosting system administrator for help.

  4. #4
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Does anyone know if it's still possible to make this a horizontal flyout - under the header - as it was in previous versions ? I am using a clean install of 1.3.6 as this would be for a brand new template..

    Thanks
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  5. #5
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Nm...

    I downloaded the archived header mod and popped it in - of course I didn't use the tpl_header.php that was in it - just included the rest into my current 1.3.6 header and it worked fine. Just css tweaks now :)

    Thanks!
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Css Flyout Categories Menu troubles

    Quote Originally Posted by frank_lyy View Post
    Dear Dr. Byte,

    If you are available, I have a rather silly question: How do you code the css flyout menu to NOT show "Document General" categories.

    I know that the original category box will not show "Document General" cats. Can this css flyout category box not show "Document Category" as well?
    In the classes/categories_ul_generator.php file, you have something like this:
    Code:
      $categories_query = "select c.categories_id, cd.categories_name, c.parent_id
                           from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd, " . TABLE_PRODUCT_TYPES_TO_CATEGORY . " ptc
                           where c.categories_id = cd.categories_id
                           and c.categories_status=1 " .
    //                             "and c.categories_id = ptc.category_id " .
    //                             "and ptc.category_id = cd.categories_id " .
    //                             "and ptc.product_type_id not in  " . $this->document_types_list . "
                           " and cd.language_id = '" . (int)$_SESSION['languages_id'] . "'
                             order by c.parent_id, c.sort_order, cd.categories_name";
    The three lines that are commented starting with // were causing problems for some folks; however, if you uncomment those three lines, it should skip the items that normally appear in the documents category box.
    .

    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.

  7. #7
    Join Date
    Nov 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    How do I add a left border or margin to my categories box? I want it to look like the Information Box below it. I am using the CSS Flyout contribution.

    http://www.butanecards.com/Shop/

    P.S. Please disregard the colors on the site for now. I am just trying to get the layout correct then I will color it all in later.

  8. #8
    Join Date
    Nov 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Quote Originally Posted by creeperkat View Post
    How do I add a left border or margin to my categories box? I want it to look like the Information Box below it. I am using the CSS Flyout contribution.

    http://www.butanecards.com/Shop/

    P.S. Please disregard the colors on the site for now. I am just trying to get the layout correct then I will color it all in later.
    Never mind.. I figured it out.

  9. #9
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Perhaps an explanation of what you did would be helpful?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  10. #10
    Join Date
    Dec 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Css Flyout Categories Menu troubles

    Hello everyone, just wanted to say that I tried everything to get the flyout working for IE 6 (and I mean everything).... finally I just upgraded to IE 7.0 and guess what... it works perfectly (of coarse)... so instead of trying to get it to work with IE 6 we just made a little notice at the top of our pages that says something like "this site is best viewed with Firefox or Internet Explorer 7.0, if you are having trouble with the site please upgrade your browser... "

    BTW, all the fixes in here worked for me except for the www redirect thing in the htaccess... when I installed that it took all of the formatting out of the site (made the whole site a text format) in both Firefox and IE6 for some reason... ???

    I think the biggest help was removing the "float" and upping the px ....

    If anyone comes up with something better than the .htaccess thing for IE6 that would be great. :) In the meantime I'm going to give this one a rest.

 

 
Page 1 of 2 12 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

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