The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index Themes Customizing the CSS of the RSS Feed Output Only

Skinning and designing Serendipity (CSS, HTML, Smarty)
108
Regular
 
Posts: 16
Joined: Fri May 13, 2011 9:15 am

Postby 108 » Wed Nov 09, 2011 4:14 am

Some folks at Stack_Overflow recommended changing the filename of style.css to style.php, changing the mime-type to text/css, then adding php argument code to it so that the php would run when the css was called but would also still work as a valid .css file. (Multiple methods available to do this... another would be to leave the filename alone and set my server to also recognize .css as a php-file.)

Do any red flags pop up with this idea in your assessment?

Thanks,
Chris

User avatar
garvinhicking
Core Developer
 
Posts: 28954
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Wed Nov 09, 2011 1:08 pm

Hi!

I don't see how this would be helpful. Currently the CSS is already PHP parsed by s9y; "serendipity.css" redirects to "serendipity.css.php" and compiles all the CSS.

What about my HTTP-Host suggestion?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

108
Regular
 
Posts: 16
Joined: Fri May 13, 2011 9:15 am

Postby 108 » Fri Nov 11, 2011 11:11 pm

I saw that, thanks. I may give it a shot; I just wanted to ask you about the alternate concept I mentioned above first.

I'll let you know how it goes when I have a chance to try it. Thanks again for all your help!
Chris

Previous


Return to Themes

Who is online

Users browsing this forum: Google [Bot] and 1 guest