Re: CSS Dropdown menu for your header- With Categories!
Thanks, that works perfectly.
Cmessa
htaccess or csshover.htc error? ADD WWW and it doesn't work
Hello,
Great contribution. Works perfect in Mozilla, just IE6 issues. I haven't tested IE7.
What is happening in IE6: access the site http://domainname.com it works fine, but when you access the site http://www.domainname.com I get the following error: access is denied to: http://domainname.com/includes/csshover.htc
I 1st tried to include the additions_to_.htaccess to my htaccess file but it made no difference. My situation is a reverse than what the additions addresses. IN IE it works without the www, it doesn't work with the www included.
Am I on the right path?
Re: htaccess or csshover.htc error? ADD WWW and it doesn't work
Quote:
Originally Posted by
airtime
Hello,
Great contribution. Works perfect in Mozilla, just IE6 issues. I haven't tested IE7.
What is happening in IE6: access the site
http://domainname.com it works fine, but when you access the site
http://www.domainname.com I get the following error: access is denied to:
http://domainname.com/includes/csshover.htc
I 1st tried to include the additions_to_.htaccess to my htaccess file but it made no difference. My situation is a reverse than what the additions addresses. IN IE it works without the www, it doesn't work with the www included.
Am I on the right path?
Into which .htaccess file did you put the additions?
Re: htaccess or csshover.htc error? ADD WWW and it doesn't work
Quote:
Originally Posted by
jettrue
Into which .htaccess file did you put the additions?
I placed it in the web root folder where ZC is installed. Also I can provide the actual domain via PM if you like.
thanks,
Airtime
Re: htaccess or csshover.htc error? ADD WWW and it doesn't work
Quote:
Originally Posted by
airtime
I placed it in the web root folder where ZC is installed. Also I can provide the actual domain via PM if you like.
thanks,
Airtime
I just made the following changes .htaccess. It now work. This is a rewrite to drop the www.
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^www\.domainname\.com [nc]
rewriterule ^(.*)$ http://domainname.com/$1 [r=301,nc]
I'm not sure if this is a ideal fix, b/c I've tell to enable SSL and need to make sure this doesn't conflict with those settings.
Very nice contribution. Was wondering how difficult it would be to highlight a couple of the categories in the top level menu?
Re: htaccess or csshover.htc error? ADD WWW and it doesn't work
Quote:
Originally Posted by
airtime
I just made the following changes .htaccess. It now work. This is a rewrite to drop the www.
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^www\.domainname\.com [nc]
rewriterule ^(.*)$ http://domainname.com/$1 [r=301,nc]
I'm not sure if this is a ideal fix, b/c I've tell to enable SSL and need to make sure this doesn't conflict with those settings.
Very nice contribution. Was wondering how difficult it would be to highlight a couple of the categories in the top level menu?
Glad that worked for you. It seems that perhaps your site is set up without the www by default with your hosting? So the .htc is actually on the http://domainname.com not http://www.domainname.com. Hopefully your SSL cert was set up there as well.
As far as highlighting a category in the menu, you mean you'd like the background color for certain categories to be different?
Re: htaccess or csshover.htc error? ADD WWW and it doesn't work
Quote:
Originally Posted by
jettrue
As far as highlighting a category in the menu, you mean you'd like the background color for certain categories to be different?
No, I mean, I'd like to put two of the category names, to the right of the information box, so when you mouse over the category the sub-categories drop down.
For Example:
Home | Categories (all) | Information | Category Name1 | Category Name2 | etc.
Re: htaccess or csshover.htc error? ADD WWW and it doesn't work
Quote:
Originally Posted by
airtime
No, I mean, I'd like to put two of the category names, to the right of the information box, so when you mouse over the category the sub-categories drop down.
For Example:
Home | Categories (all) | Information | Category Name1 | Category Name2 | etc.
I would probably just hard code that manually, if the categories you want to highlight are going to stay the same.
Re: htaccess or csshover.htc error? ADD WWW and it doesn't work
Just a quick note, IE6 (google too, not sure about other SEs) considers www.mydomain.com and mydomain.com to be TWO separate domains. For IE crossing from one to the other creates a security error which refuses to load the .htc file. Modifying the .htaccess with the rewrite from www.mydomain.com to mydomain.com as listed above is the best solution.
Quote:
Originally Posted by
airtime
Hello,
Great contribution. Works perfect in Mozilla, just IE6 issues. I haven't tested IE7.
What is happening in IE6: access the site
http://domainname.com it works fine, but when you access the site
http://www.domainname.com I get the following error: access is denied to:
http://domainname.com/includes/csshover.htc
I 1st tried to include the additions_to_.htaccess to my htaccess file but it made no difference. My situation is a reverse than what the additions addresses. IN IE it works without the www, it doesn't work with the www included.
Am I on the right path?
Re: htaccess or csshover.htc error? ADD WWW and it doesn't work
Quote:
Originally Posted by
jettrue
I would probably just hard code that manually, if the categories you want to highlight are going to stay the same.
Could you give me a coding example of how I could put a Cateory next to the information box? I took a look at includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php but it is still beyond me.
thanks,
Airtime