Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2024-12-19 13:43:52
- Adams
- Plugin Author
- Registered: 2024-08-30
- Posts: 40
TXP admin login page
Is there a way to create a plugin to add a variable message to the admin login page (before the login)?
I’m trying to avoid any change in TXP files.
Thanks
Offline
Re: TXP admin login page
Sadly not. There are two places we forbid plugins from running. One is the login page (for security) and the other is the plugins panel (so you can recover and disable wayward plugins that may have borked your site).
What are your trying to add, and why? There may be something we can figure out.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: TXP admin login page
Untested, but you can probably alter the admin theme.
In Hive, for example, it should suffice to create a custom.js
file inside assets/js
folder.
Offline
#4 2024-12-19 14:39:04
- Adams
- Plugin Author
- Registered: 2024-08-30
- Posts: 40
Re: TXP admin login page
Thank you both,
Yes I see the plugins loaded after the admin auth() , I wish you guys add a place holder (as event) before load, after login. Same thing for db down , those useful events.
Thanks
Offline
Pages: 1