Start ::
Developers Corner ::
Block Development ::
Block / Module Style Sheet in Admin mode
Moderated by: Support Team
-
- rank:
-
Helper
- registered:
- November 2002
- Status:
- offline
- last visit:
- 30.07.08
- Posts:
- 117
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 in the top of this template and Smarty returns
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
Wren/Maxwell : PostNuke Hosting
Start ::
Developers Corner ::
Block Development ::
Block / Module Style Sheet in Admin mode
