Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-03-27 22:18:46
- nvision
- New Member
- Registered: 2008-01-27
- Posts: 2
Dynamic CSS from section
Is there any way to change the content-type to text/css for a section?
Right now I have dynamic css generated from custom fields. I’ve already created the section and have the css generating correctly, aside from the fact the browser can’t read it becasuse it thinks it’s css.
Here’s the output
http://ladellinc.com/?s=dyncss
Last edited by nvision (2008-03-27 22:19:47)
Offline
Offline
Re: Dynamic CSS from section
Would mg_setheader perhaps help in this case?
On another tack, maybe ako_cssParse would be of interest to you too (this thread as background too).
TXP Builders – finely-crafted code, design and txp
Offline
Re: Dynamic CSS from section
You can use TXP tags in the “head” so wouldn’t <txp:if_section>
work for you?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Pages: 1