| Topic: | Block / Module Style Sheet in Admin mode |
|---|---|
|
thowden
Helper
Posts: 117 Posted: |
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 Code<!--[modulestylesheet]--> CodeSo 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 |