[pmwiki-users] style sheets order from a directive function

V.Krishn vkrishn at insteps.net
Fri Jan 15 16:48:13 CST 2010


Setting $HTMLHeaderFmt['myrecipe'] = 'value' 
from within directive function results in being set after user defined css 
like local.css..etc.

I am thinking of using
$array2['styles'] = $HTMLHeaderFmt['styles'];
$array2['infobox'] = "link to css";
$HTMLHeaderFmt = array_merge($array2, $HTMLHeaderFmt);

I hope this would be ok?
I would suggest if pmwiki calls the user defined styles to be loaded at the 
end of execution or can this presently be done by changing some variable?


-- 
Regards,
V.Krishn



More information about the pmwiki-users mailing list