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

Tegan Dowling tmdowling at gmail.com
Wed Jan 9 08:27:37 CST 2008

On Jan 8, 2008 11:28 AM, Sandy <sandy at onebit.ca> wrote:
> > ## colors
> > $highlight1 = '#ccc';
> > $highlight2 = 'green';
> > $bodytxt = '#ff0000';
> > $headings = '#008400';
> <snip>
> Oooh, that's worth putting in a recipe! (In my two whole skins, how many
> times have I tried to redefine "colour1" and missed a spot?)
> Sandy

I barely understand the version that I posted.  I think I "get" the
ideas behind noskule's and CarlosAB's but certainly couldn't explain
them, or even identify categories to assign them to, if we were to
create a recipe that tried to cover all three methods.  Returning to
my list of "Ancillary Questions" in my original post:

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 separate recipe from the use of re-usable names for colors in the

Should the recipe's scope be just how to create variables for colors
in the skin -- What should we call this!?

I guess I'm saying that I'd very much like to see some or all of this
posted as a recipe (or recipes), and I'd like to contribute to
it/them, but as usual feel that I'm not qualified to be its/their

More information about the pmwiki-users mailing list