On Thursday 23 June 2011 18:02:57, Oliver Betz 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: $HTMLStylesFmt['my-menu'] = "<link rel='stylesheet' href='\$SkinDirUrl/menu.css' type='text/css' />"; Inside single quotes, no need to use \$. $HTMLStylesFmt['my-menu'] = '<link rel="stylesheet" href="$SkinDirUrl/menu.css" type="text/css" />'; > I can use $PubDirUrl and $Skin, so "$PubDirUrl/skins/$Skin" yields the > correct path. You shouldn't need to expand $PubDirUrl, $FarmPubDirUrl, or $Skin in config.php, either wrap them in single quotes or, if in double quotes, escape the $ with \$. Petko _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
