Hi Everybody,
I'm a newbie to PW, but since the few weeks i'm working with it I like it a lot (mainly for it's flexibility).
Ryan and others, you are doing a really impressive job. Congratulations!
For a little CMS i'm working on, I want to use PHP script inside CCS stylesheet.
For that, I put <?php header('Content-type: text/css');?> at the beginning of the mucss.css file which is renamed mycss.php,
and I put the <link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates?>mycss.php" /> in the header of a template file (mycss.php is in the same directory as my templates).
But this code doesn´t work, the mycss.php file is not rendered in the final html page.
After a few testes, I got my objective with this code instead
<link rel="stylesheet" type="text/css" href="/mycss.php" /> and putting the mycss.php file in the root directory of website.
This change of directory is not very suitable for when I want to export my site profile for new installations.
Any idea what is wrong or what can be done for doing the trick maintaining the original structure of PW.
Thanks.