Re: how to customize the join form
from
Rob Miller
on Oct 04, 2007 10:34 AM
On Oct 4, 2007, at 4:17 AM, BALTUS Jean wrote:
> Hi all,
>
> I’ve followed the tutorial for the samplemember and would like to
> customize the join form. When I create a samplemember_edit.cpt
> template in the skin however, it only modifies the edit form (when
> the user has already registered).
if you just want to add new fields to the join / edit form, then you
don't need to edit the .cpt files, you just need to modify the member
class schema. adding a field will cause it to show up on the edit
form, setting the regfield attribute to a True value will cause it to
show up on the join form.
if you want to get away from the autogenerated UI, then you'll need
to override the templates, the edit form you've already found, and
the reg_form.cpt for the join form.
-r