Attaching custom js and css files depends on module in header section

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
raph
New Member
New Member
Posts: 3
Joined: Wed Feb 11, 2009 11:29 pm

Attaching custom js and css files depends on module in header section

Post by raph »

Let's say I created a module which uses a js library. This library is needed in admin section of my module. How can I attach specific js files in header section only for specific page (admin section in this example)? Is it possible to do this in my module's templates?
Post Reply

Return to “Developers Discussion”