Results 1 to 10 of 2344

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    help question Why .htaccess changes?

    I've just installed this mod. Looks great.

    Can someone explain why the .htaccess changes are needed for older version of IE?
    Last edited by shocker; 5 Mar 2008 at 06:36 AM. Reason: title change

  2. #2
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    Default Re: Why .htaccess changes?

    Quote Originally Posted by shocker View Post
    I've just installed this mod. Looks great.

    Can someone explain why the .htaccess changes are needed for older version of IE?
    No anwers on this question yet. After making the .htaccess changes explained in the installation, one of javascripts could'nt find a file located out site of my stores root folder, but still in the same domain.

    can anybody shed light on this. for now I've undid the .htaccess changes.

  3. #3
    Join Date
    Aug 2006
    Location
    UK
    Posts
    119
    Plugin Contributions
    0

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

    Hi Guys.

    This was the only thread I could find regarding the drop menu, so taking a chance and posting here.

    I have installed the drop menu and it is excellent. Just what I wanted.
    I have one issue which I hope somebody can help me with.

    On my index page (Main_page), I am using the page as a 'gateway' page and have disabled both side columns, etc.

    The drop menu doesnt appear, and I have just set up a page with Dreamweaver. It looks Ok for now, but when I look at the page source, it contains all the zen and drop menu coding. I have inserted part below.

    <!-- menu area -->

    <div id="dropMenuWrapper">
    <div id="dropMenu">
    <ul class="level1">
    <!-- You can manually put whatever additional links you like in using this structure
    <li class="submenu"><a href="http://skiddaddle.co.uk/index.php?main_page=index">Home</a>
    <ul class="level2">
    <li><a href="yourlinkhere">yourtexthere</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=products_all">All Products</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=specials">Specials</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=advanced_search">Search</a></li>
    </ul>
    </li>
    -->
    <li class="submenu"><a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=102">BOOKS</a><ul class="level2"><li>
    <a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=104">Fiction</a></li><li>
    <a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=106">First Editions</a></li><li>
    <a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=105">Non Fiction</a></li></ul></li><li><a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=92">CDS</a></li><li class="submenu"><a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=97">DVDS</a><ul class="level2"><li>
    <a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=99">DVD</a></li><li>
    <a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=100">VHS</a></li></ul></li><li><a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=107">Gift Vouchers</a></li><li><a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=103">GIFTS</a></li><li><a href="http://skiddaddle.co.uk/index.php?main_page=index&amp;cPath=98">TOYS</a></li><!-- You can also add links on this side of your catefories menu
    <li class="submenu"><a href="http://skiddaddle.co.uk/index.php?main_page=index">Information</a>
    <ul class="level2">
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=shippinginfo">Shipping Info</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=privacy">Privacy Policy</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=conditions">Conditions of Use</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=FILENAME_ABOUT_US">About Us</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=site_map">Site Map</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=gv_faq">Gift Certificate FAQ</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=discount_coupon">Discout Coupons</a></li>
    <li><a href="http://skiddaddle.co.uk/index.php?main_page=unsubscribe">Newsletter Unsubscribe</a></li>
    </ul>
    </li>
    -->
    </ul>
    </div>
    </div>
    <div class="clearBoth"></div>
    <!--eof-drop down menu display--> </div>


    I am trying to optimize my page, but my software tell me that the first 250 characters of my webpage content is:

    [FONT=Arial]Home Log In Home yourtexthere All Products Specials Search --> BOOKS Fiction First Editions Non FictionCDSDVDS DVD VHSGift VouchersGIFTSTOYSInformation Shipping Info Privacy Policy Conditions of Use About Us Site Map Gift Certificate FAQ Discout Coup ...[/FONT]

    HOW CAN I REMOVE THIS?
    I really hope somebody cam make some sense of my gibberish, but I am going google eyed trying to figure it.

    Any help would be greatly appreciated.

    Regards Chris


  4. #4
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

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

    I'm trying to validate my site do some optimization.

    The csshover.htc is causing problems in both FF and IE

    FF says:
    Code:
    Warning: Unknown property 'behavior'.  Declaration dropped.
    Source File: http://nahidfashions.com/boutique/includes/templates/NAHID_ARTISTIC/css/stylesheet_header_menu.css
    Line: 2
    IE says:
    HTML Code:
    Error: Access denied to 
    http://nahidfashions.com/boutique/includes/csshover.htc
    I've played around with the htaccess file but nothing seems to work.
    Last edited by shocker; 7 Mar 2008 at 03:13 PM. Reason: more info

  5. #5
    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 shocker View Post
    I'm trying to validate my site do some optimization.

    The csshover.htc is causing problems in both FF and IE

    FF says:
    Code:
    Warning: Unknown property 'behavior'.  Declaration dropped.
    Source File: http://nahidfashions.com/boutique/includes/templates/NAHID_ARTISTIC/css/stylesheet_header_menu.css
    Line: 2
    IE says:
    HTML Code:
    Error: Access denied to 
    http://nahidfashions.com/boutique/includes/csshover.htc
    I've played around with the htaccess file but nothing seems to work.
    Please post your .htaccess file. The behavior FF warning can be ignored.

  6. #6
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    Please post your .htaccess file. The behavior FF warning can be ignored.
    Code:
    ##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
    
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /boutique/
    
    # From Ultimate SEO URLs
    RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
    
    # For Open Operations Info Manager
    RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
    
    # For dreamscape's News & Articles Manager
    RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
    RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
    RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
    RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
    RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
    RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
    
    # All other pages
    # Don't rewrite real files or directories
    RewriteCond %{REQUEST_FILENAME} !-f [NC] 
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
    
    ## Add these to your .htaccess file so that only one way to your site exists, either http://yoursite.com and http://www.yoursite.com ... the following adds the www if it's missing:
    
    ##RewriteEngine On
    RewriteCond %{HTTP_HOST} ^nahidfashions.com$ [NC]
    RewriteRule ^(.*)$ http://www.nahidfashions.com/$1 [R=301,L]
    
    ## If you'd like your site to go to http://mysite.com instead of http://www.mysite.com, add these changes instead (remove the two pound symbols before each line in the section below, and delete the section above):
    
    ##RewriteEngine On
    ##RewriteCond %{HTTP_HOST} ^www.nahidfashions.com$ [NC]
    ##RewriteRule ^(.*)$ http://nahidfashions.com/$1 [R=301,L]
    
    ## the following makes sure the correct mime type is sent for the .htc file
    AddType text/x-component .htc
    
    <Files *.htc>
    Order Allow,Deny
    Allow from all
    </Files>
    Note that my store is in http://www.nahidfashions.com/test_boutique

  7. #7
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

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

    Like I said I've been playing around with this, so I don't know what the current attempt will display.

  8. #8
    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 shocker View Post
    Code:
    ##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
    
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /boutique/
    
    # From Ultimate SEO URLs
    RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
    
    # For Open Operations Info Manager
    RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
    
    # For dreamscape's News & Articles Manager
    RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
    RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
    RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
    RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
    RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
    RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
    
    # All other pages
    # Don't rewrite real files or directories
    RewriteCond %{REQUEST_FILENAME} !-f [NC] 
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
    
    ## Add these to your .htaccess file so that only one way to your site exists, either http://yoursite.com and http://www.yoursite.com ... the following adds the www if it's missing:
    
    ##RewriteEngine On
    RewriteCond %{HTTP_HOST} ^nahidfashions.com$ [NC]
    RewriteRule ^(.*)$ http://www.nahidfashions.com/$1 [R=301,L]
    
    ## If you'd like your site to go to http://mysite.com instead of http://www.mysite.com, add these changes instead (remove the two pound symbols before each line in the section below, and delete the section above):
    
    ##RewriteEngine On
    ##RewriteCond %{HTTP_HOST} ^www.nahidfashions.com$ [NC]
    ##RewriteRule ^(.*)$ http://nahidfashions.com/$1 [R=301,L]
    
    ## the following makes sure the correct mime type is sent for the .htc file
    AddType text/x-component .htc
    
    <Files *.htc>
    Order Allow,Deny
    Allow from all
    </Files>
    Note that my store is in http://www.nahidfashions.com/test_boutique
    OK, here's the deal. You're telling it to change alll non-www to www. Which is fine, if that is the way you normally link to your site. IE sees a non-ww and www site as two different sites, even if they're the same site. THAT is why you get the error:

    Error: Access denied to
    http://nahidfashions.com/boutique/includes/csshover.htc

    This is perfectly normal behavior for IE.

    Now, if you want to refer to your site without the www, then you need to change the .htaccess files, and the configure.php files to remove the www.

 

 

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