Forums
View unanswered posts | View active topics It is currently Tue May 21, 2013 12:39 pm



Reply to topic  [ 9 posts ] 
 htc and Drupal 6 
Author Message

Joined: Thu Feb 16, 2012 3:30 pm
Posts: 6
Post htc and Drupal 6
Hi all. I'm trying to get pie to work with my drupal installation, and I must be doing something wrong.

my css is here: /www/themes/newsflash/css and I've uploaded pie to my root folder (the folder above the www in the css file path) as noted in the css below.

{
font:bold 14px Arial, Helvetica, sans-serif;
font-style:normal; color:#ffffff;
background:#669900;
border:4px solid #ffffff;
text-shadow:1px -1px 1px #222222;
box-shadow:7px 7px 7px #575657;
-moz-box-shadow:7px 7px 7px #575657;
-webkit-box-shadow:7px 7px 7px #575657;
-o-box-shadow:7px 7px 7px #575657;
-ms-box-shadow:7px 7px 7px #575657;
border-radius:45px 0px 45px 0px;
-ms-border-radius:45px 0px 45px 0px;
-moz-border-radius:45px 0px 45px 0px;
-webkit-border-radius:45px 0px 45px 0px;
-o-border-radius:60px 0px 60px 0px;
padding:12px 24px; margin:0 auto;
behavior: url(/PIE.htc);

No results in IE. Please help, I'm new to this and could use some ideas as to what I am missing. I'm not sure where to look to see if it's a content type issue, where would Drupal put that? Also, it still looks crappy in Safari 5...

Thanks!


Thu Feb 16, 2012 3:35 pm
Profile

Joined: Sat Aug 21, 2010 11:12 am
Posts: 220
Post Re: htc and Drupal 6
Paste your full .htc url to this: http://planetsvg.com/tools/mime.php
It will tell you the mime type. If it's text/plain, it's wrong.

_________________
PIE needs more community support persons! Time is money, which means you can fund PIE development by answering support questions.


Thu Feb 16, 2012 4:38 pm
Profile

Joined: Thu Feb 16, 2012 3:30 pm
Posts: 6
Post Re: htc and Drupal 6
The above website gave me this response:

content type text/html; charset=utf-8.This is not an SVG file extension, and is the wrong MIME Type for SVG.
This does not appear to be an SVG file, so nothing should need to be done.


Is that ok? I don't know how to change the content type - Drupal doesn't compile html pages, and I don't know where to see/change the header for the pages.


Fri Feb 17, 2012 8:21 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1396
Post Re: htc and Drupal 6
See http://css3pie.com/documentation/known- ... ntent-type

Your current text/html content-type will not work. How to change it is specific to the server you're using; the most common is Apache which you can often do in a .htaccess file. If not, you could try using the PIE.php wrapper script which sets the correct header.


Fri Feb 17, 2012 10:34 am
Profile

Joined: Thu Feb 16, 2012 3:30 pm
Posts: 6
Post Re: htc and Drupal 6
Thanks! I can see my .htaccess file, but what do I add to it?

If I uploaded pie.php would I have to change my behavior: url tag to that file instead of pie.htc, or do I upload the .php somewhere and follow the rest of the procedure as normal??


Fri Feb 17, 2012 10:40 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1396
Post Re: htc and Drupal 6
Read the link I posted, your questions are answered there. If you need more detailed info you can search the web for "htaccess content-type" or something similar.


Fri Feb 17, 2012 10:56 am
Profile

Joined: Thu Feb 16, 2012 3:30 pm
Posts: 6
Post Re: htc and Drupal 6
Ok, I read the article. Added the line to my .htaccess file, reuploaded it - no change.

Uploaded pie.php, changed my behavior: url to point to pie.php - no change.

I'm not sure how to make the path to pie relative to my html files, drupal doesn't output html files so I don't know where they would be... Tried messing around with different paths, my content disappears sometimes, making me think the path is wrong. Changed the path back to what I think it corrent, and my content reappears, but without the border/shadow called for in my css.


Fri Feb 17, 2012 11:14 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1396
Post Re: htc and Drupal 6
If you see stuff disappear then it's likely that PIE is working, but that you're running into the common z-index issue:

http://css3pie.com/documentation/known-issues/#z-index

While you're there, please read through that entire page of issues, they are very common to run into.


Fri Feb 17, 2012 11:44 am
Profile

Joined: Thu Feb 16, 2012 3:30 pm
Posts: 6
Post Re: htc and Drupal 6
Thanks so much! It was the z-index issue that was blocking me when I thought I had done something else wrong.

Thank you for stepping me through!


Fri Feb 17, 2012 11:57 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 4 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.