Own Javascript in Backend

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
welworx
Forum Members
Forum Members
Posts: 12
Joined: Sat Mar 21, 2009 2:04 am

Own Javascript in Backend

Post by welworx »

I'm develloping a modul and i have the problem, that i do not know how to put some generated Javascript into the head section in the admin page.

Could anybody please tell me what's the easyest way to put some dynamically generated javascript into the head section of the admin page.

best regards
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Own Javascript in Backend

Post by Wishbone »

Does it have to be in the head? I have some javascript in my admin panel that's activated by checkbuttons in the form... I put my stuff at the end of my template.

I guess you can also modify the admin panel template and put a UDT in the head to generate whatever you want.
Last edited by Wishbone on Fri Dec 18, 2009 10:52 pm, edited 1 time in total.
Post Reply

Return to “Developers Discussion”