Self Registration module template variables
Posted: Tue Sep 18, 2018 6:44 am
I created a tutorial a few years ago about building Self Reg templates: viewtopic.php?f=4&t=67650
I am now building a new site that needs a Self Reg registration template.
I used to use {$username->control} and {$password->control} etc. to build the templates, but they no longer work.
I have edited the default template using the {foreach from=$controls item=control} loop, but it would be much less code if I could use the variable directly.
Does anyone know if this is still possible?
Are the variables written differently now?
Cheers
Simon66
I am now building a new site that needs a Self Reg registration template.
I used to use {$username->control} and {$password->control} etc. to build the templates, but they no longer work.
I have edited the default template using the {foreach from=$controls item=control} loop, but it would be much less code if I could use the variable directly.
Does anyone know if this is still possible?
Are the variables written differently now?
Cheers
Simon66