Download & Extend

Remove categories with no visible fields

Project:User Read-Only
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

When URO has hidden all the fields in an account category, it would be nice if that entire category were removed from view.

Comments

#1

Title:Removed categories with no visible fields» Remove categories with no visible fields

I wonder if there has been any movement on this? I have a single "Upgrade credits" profile field in an "Upgrade" category; when this field is hidden I prefer that the "Upgrade" category tab not appear.

#2

If there was progress, it would be documented here. I agree with the feature request, which is why it is still open, but haven't had the need to fix it myself yet. If you write a patch, that'll speed it up.

#3

+1 - keeping empty fieldsets is useless and looks like an error.

#4

This is supported in the 7.x branch. Once I get the time to backport I will otherwise patches are welcome.

#5

Status:active» fixed

This is addressed on the latest 6.x release: http://drupal.org/node/1167222

#6

Status:fixed» active

Thank you, just tested it.

One thing I recognized: If user pictures are enabled and the read-only user has no picture uploaded, then the "Picture" fieldset still appears. I would expect that this fieldset is not displayed at all since it is "empty".