I wasn't seeing padlocks next to the checkbox for the fieldset group, but changing the weight on the module to a higher weight (running later) made them appear. I suggest this become part of the stock install, setting the module weight higher than zero. Before I did so, the fieldgroup wasn't available during the form alter, so there was nothing to match and alter.

I'm seeing doubled padlocks on the fieldgroup label, but at least I'm seeing ANY padlocks now. The checkbox for the fieldgroup is the first item in the admin, and should be more clearly 'pulled out' as a choice, but it does show up, and now the padlock(s) also shows.

Comments

obsidiandesign’s picture

Status: Active » Needs review
StatusFileSize
new1.09 KB

@sethcohn, could you please give this a quick lookover? I want to make sure that hook_update_N is the appropriate place to change the module's weight before committing.

Bryan O'Shea
Obsidian Design

obsidiandesign’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Assigned: Unassigned » obsidiandesign

The patch, I think, will only work with 6.x since it's cck_field_privacy_6100. Updating the issue to match.

obsidiandesign’s picture

Status: Needs review » Fixed

Committed to 5.x and 6.x CVS.

Anonymous’s picture

The patch didn't work for me but I changed updated SQL myself and made module weight 20 due to the fact that I found the cck fieldgroup module is 19!

Now I can see locks on the whole group but no more locks on fields already selected in the admin settings.

Hope that helps.

obsidiandesign’s picture

@aliadnan - after you ran update.php, do you happen to remember what the weight was in the module table? I want to see if there's an error in what I did (maybe output into the watchdog, such as an SQL error?). I have rerolled the patch, with the weight based on CCK Fieldgroup, since on mine it was a weight of 9. Could you please retest & let me know the results (works good here).

Merry Christmas all!

Bryan O'Shea
Obsidian Design

sethcohn’s picture

+1, looks good to me.

obsidiandesign’s picture

Committed to CVS, so fixed (again?)

Bryan O'Shea
Obsidian Design

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.