简体   繁体   中英

How to change template file in Joomla 3.x

I am making my own component for Joomla.

Is it possible to change the template file (admin login specifically) in my component, or even additional plugin? I just want to add a button or href in admin login form.

  • normal admin login form
  • install my extension
  • changed admin login form

Any help appreciated. Of course I can edit the template file manually, but I want to make it automatically while installing extension.

You can try to create a system plugin which performs the modification on this page. It's not quite straight forward, but it should work. The AfterRender-Event sounds useful.

https://docs.joomla.org/Plugin/Events/System#onAfterRender

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM