Jump to content


Photo

Extending user


  • Please log in to reply
3 replies to this topic

#1 nikola

nikola

    Sr. Member

  • Members
  • PipPipPipPip
  • 224 posts
  • 81

  • LocationZagreb, Croatia

Posted 16 May 2012 - 12:02 PM

I'm going to extend PW user with extra custom fields.

How can I hide those custom fields from superuser(admin) and allow it to be seen only by guest account or some other custom specified accounts.

I want to reduce the clutter, so superuser will only need to see default PW user assigned fields.

What's the best approach with that?
Check out my ProcessWire admin themes: Futura Remixed Admin Theme / Moderna Admin Theme / Futura Admin Theme

#2 diogo

diogo

    Hero Member

  • Moderators
  • 1,973 posts
  • 1059

  • LocationPorto, Portugal

Posted 16 May 2012 - 12:05 PM

tabs :)

#3 ryan

ryan

    Hero Member

  • Administrators
  • 5,753 posts
  • 3102

  • LocationAtlanta, GA

Posted 16 May 2012 - 12:08 PM

Currently all users have to have the 'user' template. However, you could add child pages below a user page (or role page) and perhaps keep some of your custom data/settings there. In order to add children to these pages, you have to edit the 'user' or 'role' template and click on it's 'family' tab and update it so that children are allowed.

#4 nikola

nikola

    Sr. Member

  • Members
  • PipPipPipPip
  • 224 posts
  • 81

  • LocationZagreb, Croatia

Posted 16 May 2012 - 12:12 PM

Wow, that was quick :)

I'll try to do that and see how it'll come out...

Thx
Check out my ProcessWire admin themes: Futura Remixed Admin Theme / Moderna Admin Theme / Futura Admin Theme




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users