Jump to content

FieldsetTabOpen not visible for non-super user


kiennguyen1101
 Share

Recommended Posts

Hi all,

I added a field FieldsetTabOpen in the user template (with FieldsetEnd as well). Everything works perfectly if the user is super-user: the tab to edit fields within FieldsetTabOpen show up. However, when I logged in as other role, this tab does not show at all. I've tried manual access control in field settings but it doesn't work. Does anyone have this issue?

Link to comment
Share on other sites

Are you talking about allowing the fieldset to show up when users visit their profile page? If you are, then try this;

  • Log back in as superuser
  • Edit the configuration for the core module ProcessProfile
  • Select all your new fields, including the fieldset, by checking the box next to them
  • Save the module settings

Now log back in as a non-superuser and visit your profile page.

Untested - YMMV

  • Like 1
Link to comment
Share on other sites

Are you talking about allowing the fieldset to show up when users visit their profile page? If you are, then try this;

  • Log back in as superuser
  • Edit the configuration for the core module ProcessProfile
  • Select all your new fields, including the fieldset, by checking the box next to them
  • Save the module settings

Now log back in as a non-superuser and visit your profile page.

Hi, thanks for the reply.

I did as per instructed and it shows up on the edit profile page. However, when editing other users, it still doesn't work. In my case the FieldsetTabOpen behaviour is really weird:

  • In admin/profile page, this field shows up as a normal field which group other fields and you can click to close/open.
  • In access/users/edit page, this field shows up as a tab (this is what I intend for it to behave) but ONLY to super-user even though my testing account has user-admin permission.
Link to comment
Share on other sites

Ok, so forget my previous post as that only acts on the profile pages.

On a PW 2.7.3 install I setup a FieldsetTabOpen (and _END) and added them to my user template and threw a couple of extra fields in between them and saved the template. Next, I added the 'user-edit' permission to my 'editor' role (that role also has page-view, profile-edit and page-edit permissions set.) Now, when I log in as an editor and look at the user pages, I get the tab and can edit the fields within. Just to be clear; I did not have to setup any additional permission requirements on the field.

Do you have any additional permission requirements setup on your FieldsetTabOpen field?

Link to comment
Share on other sites

Do you have any additional permission requirements setup on your FieldsetTabOpen field?

No, though I have tried. My 'manager' role also has similar permissions: page-edit, user-admin, user-admin-staff, page-lister, page-view and profile-edit but it doesn't work like yours.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Similar Content

    • By j00st
      Hi everyone!

      Perhaps I'm a bit enthusiastic in using the Repeater-field & FieldsetOpen combo, as I've already posted another question about it today...
      But here goes nothing
      I've got a FieldsetTabOpen which I'm using in a Repeater-field, but that's not working as expected; as in – no tabs showing 
      Instead it just shows the two grouped in FieldsetTabOpen below each other...would be great to see tabs in the repeater as well.

      To add some visuals in; In the attached images the fluor-green box is my repeater, with two checkbox fields, and after that the two FieldsetOpenTab groups.
      The other two are how I set up the fields in the repeater (Reno AdminTheme) and the current view in the CMS.
      Any tips/recommendations as to how I could go about setting this up? I've tested the FieldsetOpenTab elsewhere, it works perfectly – but then again, here I'm trying to use it in a Repeater instead of directly in a template....would I need to place the two tabs in a fieldset? Or some other ingenious construction-ideas that could help out here? Hope someone has an idea as to how to do this! Thanks!
       



    • By Michael van Laar
      I’m working on my first ProcessWire project and so far I’m really glad that I found this CMS
      But I discovered that nesting a Fieldset into a FieldsetTab doesn’t work. I tested it with and without the custom admin theme – with the same result.
      That’s how part of the fields I use in the template look like:

      There’s a new tab “seo_tab” which contains the fieldset “seo_serp” and a few fields before and after this fieldset.
      But the result doesn’t look like intended:

      The fieldset “seo_serp” doesn’t end where it should end. Instead it also covers all the following fields.
      Any mistake I made? Or is this a bug?
×
×
  • Create New...