Jump to content

Login/Register adding fields

Recommended Posts

Nevermind. "show system templates" is not an option on the menu breakout, but available when actually choosing "templates"


This might belong here since I'm new to processwire, but as far as adding fields in the profile form (or fields used in the module in general, it states:

" If you do not see all the fields you need, add them to the “user” template first and then come back here. Only standard fields may be used on the front-end (no files, repeaters, richtext, multi-value, combined fields, etc.). "

I'm not sure what the "user" template is. I do have a template associated with the page that this module is connected with. I have added additional fields to that template, but I do not see them in the dropdown when trying to add them.

Furthermore it states:

" By default, the email and password fields are required for both forms. You may want to add more fields. To do this, you’ll need to add fields to your “user” template. You can add fields to your user template in the admin by going to “Setup > Templates > Show system templates > user”. "

There is no "show system templates".

Edited by trowtlip

Share this post

Link to post
Share on other sites

Users in PW are also pages, so they also have a template. As that is a system template, it is normally not shown in the list of templates. However, if you go to "setup" -> "templates", there is an option when you expand the filters where you can check "Show system templates". Once you do that, you will see a new section labeled "System" with a template named "user". That is where you need to add these additional fields.

  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...