Forums
|
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
| Author |
Message |
|
anoopkumarm
Joined: Fri Aug 13, 2010 7:06 am Posts: 2
|
 PIE in Drupal Theming
I have tried to implemented PIE in drupal theming. But it is not working. I have installed it in my local machine. Folder structure : \sites\all\themes\mytheme, Inside the mytheme folder I have copied the PIE.htc file. style.css file and PIE.htc file are in same location. But no effects is displaying on IE6/IE7.
CSS Code:
#content-top .block{ width:266px; float:left; padding:0 25px; border: 1px solid #696; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; -webkit-box-shadow: #666 0px 2px 3px; -moz-box-shadow: #666 0px 2px 3px; box-shadow: #666 0px 2px 3px; background: #EEFF99; background: -webkit-gradient(linear, 0 0, 0 bottom, from(#EEFF99), to(#66EE33)); background: -moz-linear-gradient(#EEFF99, #66EE33); background: linear-gradient(#EEFF99, #66EE33); -pie-background: linear-gradient(#EEFF99, #66EE33);
behavior: url(PIE.htc); }
please let me know your thoughts
|
| Fri Aug 13, 2010 8:25 am |
|
 |
|
Spudley
Joined: Mon Jul 19, 2010 4:46 am Posts: 34
|
 Re: PIE in Drupal Theming
Almost certain to be the path to PIE.htc. Change the behaviour URL to point to the full path of the htc file on your site.
You'll probably end up with a line that looks something like this:
behavior: url(/sites/all/themes/yourthemename/PIE.htc);
If you're not sure of whether the url is correct, try opening it directly in a browser.
Hope that helps.
Spudley.
|
| Fri Aug 13, 2010 9:21 am |
|
 |
|
andy
Joined: Sun Aug 15, 2010 11:54 am Posts: 1
|
 Re: PIE in Drupal Theming
I used PIE in my Drupal theme just the other day - worked with no problems. I did notice that I couldn't use the path relative to the theme's folder, but rather to the root (as Spudley mentioned). HTH
|
| Sun Aug 15, 2010 11:56 am |
|
 |
|
anoopkumarm
Joined: Fri Aug 13, 2010 7:06 am Posts: 2
|
 Re: PIE in Drupal Theming
Thanks Spudley & Andy It is working fine now.
|
| Mon Aug 16, 2010 2:18 am |
|
 |
|
stg11
Joined: Wed Sep 28, 2011 10:11 pm Posts: 1
|
 Re: PIE in Drupal Theming
Was not working for me when I tried http://mysite.com/pie.htc but when I just used /pie.htc for the behavior url it worked fine.
|
| Wed Sep 28, 2011 10:13 pm |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|