![]() |
How to customize login form
Hi all I'm new here,
i need to add an hidden field to my login form. Code:
<input type="hidden" name="url" value="<?=$_SERVER['HTTP_HOST']?>" /> vbullerin-style.xml has the form, but is in "install" dir adminfuncions.php has "function print_cp_login()" but isn't the homepage login form. plz help:D regards |
Usually the login form is in the navbar. That is where you would put the html. However, you have php there also, which means you will need to add that via a plugin (you may not put php in a template). If you have debug mode on, you can see the list of plugins called for the page at the bottom. Most likely, since the login form is on every page, you will have to use a global_ hook location for your plugin.
|
All times are GMT. The time now is 03:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|