Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Load custom JavaScript before </body> tag in Textpattern admin?
I’m curious, is there any way to load custom JS just before the closing body tag in Textpattern? I have tried adding the script via bot_write_tab_customize and Hive’s custom.js, but both of those load in the document head. This script needs to load after everything else.
Thanks in advance!
Offline
Re: Load custom JavaScript before </body> tag in Textpattern admin?
It looks like admin_side > body_end callback is what you need?
Offline
Re: Load custom JavaScript before </body> tag in Textpattern admin?
Thanks, etc!
I wound up solving the problem by examining a plugin that appends a different script there, and using it as a basis for my own.
Offline