![]() |
I cannot add custom php code to registration template ?
I want to add some custom php codes to registration template (or page).
But when I attempt to add this <? My php codes ?> in admincp > in register template, at the end of the codes, it says: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/hosts/domains/propaket/xxx_pro/www.xxx.net/httpdocs/includes/adminfunctions_template.php(3596) : eval()'d code on line 310 So where should I add my php codes ? |
You must do all your processing in plugins, then put the output into a variable. You have access to that variable in the templates.
|
All times are GMT. The time now is 09:33 PM. |
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:
|