Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hey there! I'm working on creating a "theme" for the Couch admin panel and I want to be able to easily inject some elements/interaction on the page and figured Javascript would be the easiest way to do that while keeping it easy for others to install this.

I was thinking I could treat this like an addon, and put some code in the kfunctions.php file that simply includes a javascript file that I place in the theme folder and plops it onto all admin panel pages.

Does anyone know what PHP code I need to use in kfunctions.php to get it to include a javascript file?

Thanks!

Oh also a quick question for KK as well... Am I wasting my time making an admin theme? As in will the new official one be out in any decent amount of time that would make my theme obsolete quickly?
@BlueCaret, I'd suggest that you save your breath for the new admin-panel.
It is on its way and will provide you with plenty of hooks and other ways to customize it no ends (in fact, it'd allow you to override all its components and so actually create your own version of admin-panel).
2 posts Page 1 of 1