Hi, just started digging in processwire for a few days and coming from wordpress and drupal I really like the flexibility coming with it. Great job! So for now I made my own template with some basic layouts, which is working super easy as expected. I'm trying to add some custom userfields now and run into some problems. I tried to add fields via the adminpages and end up geting some page fields, but I want them to be in my $user page.
$user->web = 'http://www.test.de';
$user->save();
foreach ( $user as $key => $val ) {
echo $key ." => ". $val ."<br />";
}
foreach($fields as $field)
echo $field->name . ", ";
Now I've tried to set and retrieve my fields and get something like this:
I can get the fields, but they are not where I want them to be.
Is there a way to add fields to the userpage with e.g. code or a tutorial/howto I didn't found?
Best,
Harri