[pmwiki-users] Using variable in skin template

DaveG pmwiki at solidgone.com
Sat Oct 24 14:07:27 CDT 2009

Sandy wrote:
>> Well in order to use the variable from within the template you'd need 
>> use $FmtPV:
>>    $FmtPV['$color1']='"#00cc00"';
>> So then you could use it in .tmpl (not in .css files though). Personally 
>> I prefer to use $HTMLStylesFmt.
> What's up with the two quotation marks? I remember something about " not 
> being the same as ', something about one being literal and the other 
> interpretting the variable names, but google is being dense.
Because anything assigned to $FmtPV needs to be executable. Refer to 

  ~ ~ Dave

More information about the pmwiki-users mailing list