Hi there,
Im fairly new to CMSMS and Im currently editing a custom module. I just have one problem... I cant add custom css to the admin part of the module. I could add style tags in the middle of my template but thats not valid xHTML. I have found the ContentPostRender function but that only works on the frontend. I also tried a post filter (smarty function) But then it adds code to my template and not to the header. I am getting a bit upset because I cant manage to fix something this simple or find any hints about this... Can someone point me in the right direction?
Add css to admin part of module
Re: Add css to admin part of module
I haven't had a problem like this but the CSS for the admin template is in /admin/themes/NCleanGrey/css if that helps.
Jeff
Jeff
Re: Add css to admin part of module
You may want to look at the source of an admin page to see if it has any specific class calls to any part you want to have take on the admin look...
Re: Add css to admin part of module
Thanks for the reply guys...
I have looked in other modules and looked if they were able to add script to the header to the admin page, but I couldnt find anything. I think that Jeffs solution is a pretty good solution, but I would prefer that my module adds the css so it isnt dependent on css in a theme...
I have looked in other modules and looked if they were able to add script to the header to the admin page, but I couldnt find anything. I think that Jeffs solution is a pretty good solution, but I would prefer that my module adds the css so it isnt dependent on css in a theme...