Re: [pmwiki-users] Nifty css/php trick, but is it safe?

2008-01-09 Thread Tegan Dowling
On Jan 8, 2008 11:28 AM, Sandy <[EMAIL PROTECTED]> wrote: > > ## colors > > $highlight1 = '#ccc'; > > $highlight2 = 'green'; > > $bodytxt = '#ff'; > > $headings = '#008400'; > > > > Oooh, that's worth putting in a recipe! (In my two whole skins, how many > times have I tried to redefine "colou

Re: [pmwiki-users] Nifty css/php trick, but is it safe?

2008-01-08 Thread Sandy
noskule wrote: >> Ancilary questions: >> Can anyone offer any improvements, or suggest whether this would or >> would not make a good cookbook recipe? > > About the css generating off css. I use this on my wikis, without > touching .htaccess in the following way, explained below. > > What I would

Re: [pmwiki-users] Nifty css/php trick, but is it safe?

2008-01-08 Thread Sandy
[EMAIL PROTECTED] wrote: > Em Sexta 30 Novembro 2007 13:43, Tegan Dowling escreveu: you can also do that from within a skin.php file with > less changes to your Pmwiki installation, like this: > > > ## colors > $highlight1 = '#ccc'; > $highlight2 = 'green'; > $bodytxt = '#ff'; > $headings =

Re: [pmwiki-users] Nifty css/php trick, but is it safe?

2007-11-30 Thread carlos . ab
Em Sexta 30 Novembro 2007 13:43, Tegan Dowling escreveu: > Ancilary questions: > Can anyone offer any improvements, or suggest whether this would or > would not make a good cookbook recipe? If I put it in, what should I > call it? Should I treat the .htaccess line that enables php in css as > a s

Re: [pmwiki-users] Nifty css/php trick, but is it safe?

2007-11-30 Thread carlos . ab
Em Sexta 30 Novembro 2007 13:43, Tegan Dowling escreveu: > Ancilary questions: > Can anyone offer any improvements, or suggest whether this would or > would not make a good cookbook recipe?  If I put it in, what should I > call it?  Should I treat the .htaccess line that enables php in css as > a s

Re: [pmwiki-users] Nifty css/php trick, but is it safe?

2007-11-30 Thread noskule
> Ancilary questions: > Can anyone offer any improvements, or suggest whether this would or > would not make a good cookbook recipe? About the css generating off css. I use this on my wikis, without touching .htaccess in the following way, explained below. What I would be intressted in, but don'

[pmwiki-users] Nifty css/php trick, but is it safe?

2007-11-30 Thread Tegan Dowling
By putting the following line in the .htaccess file at the root-level of my pmwiki installation (in the same dir as pmwiki.php): AddType application/x-httpd-php .css I am able to have php code inside css files. I've used this on http://www.test.wikitraining.com/Main/HomePage, where I have instal