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
Self Registration module template variables
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Self Registration module template variables
The $controls variable in the Selfregistration registration template are an associative array of objects.
Look at the factory template that comes with the module.
Look at the factory template that comes with the module.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.