Petko Yotov wrote:

>> is it correct that $SkinDirUrl isn't set early enough to be used in in
>> $HTMLStylesFmt[]?
>
>Yes, but you can escape the $ with \$ inside double quotes:

so it evaluates later?

>  $HTMLStylesFmt['my-menu'] = "<link rel='stylesheet'
>   href='\$SkinDirUrl/menu.css' type='text/css' />";
>
>Inside single quotes, no need to use \$.

Thanks for the clarification. Being rather PHP-ignorant, I thought
that the type of the inner quotes is relevant.

Oliver


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to