Jump to content

Recommended Posts

Posted

Hi,

I'm rather new to PW. (And loving it) I have installed PW3 with the FrontendUser module. I tried the standard simple script and that worked. But now I want to add some custom fields that are in my user templates. I have created a page-field called userparent where you can choose another user. I don't know if this is relevant.

The answer is probably on this page: https://bitbucket.org/pwFoo/frontenduser/wiki/Code snippets / Examples

"Add custom form field with hook after field processed

Add an additional form field to the registration form with field processing (add value to user object) inside your template file."

But I'm having difficulty implementing the script due to my lack of knowledge.  I keep getting internal server errors. How and where do I define the custom fields I want to make available in the form? I'm not extremely good at PHP but know more than the basic stuff.

I hope someone can help me out.

Posted

Haven't used the module before but I recommend adding

$config->debug = true;

to your config.php, during development, to get more detailed errors, so that you can debug this easier.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...