Hi All
I am fiddling with a module / block update (in .8 but I think this applies to earlier versions as well).
In the admin page for the block I want to load the module style sheet (modules/MyModule/pnstyle/style.css or even modules/MyModule/pnstyle/MyModule.css).
The block admin is being called correctly and the page is rendered including my modify page
modules/MyModule/pntemplates/mymodule_block_mymodule_modify.htm
But the loaded style sheet relates to the system/Blocks module which is logical as the Blocks Admin is the currently loaded module. I tested this by inserting
<!--[modulestylesheet]-->
in the top of this template and
Smarty [20] returns
link [21] rel="stylesheet" href="/system/Blocks/pnstyle/style.css" type="text/css"
So my question is how do I reference the stylesheet for the module that the block belongs to rather than the stylesheet for the Blocks module.
TIA
--
cheers
Tony
Marble Bay : PostNuke Dev Work [22]
Wren/Maxwell : PostNuke Hosting [23]