[GH-ISSUE #246] some fields in Directory Entry plugin will not disappear #197

Closed
opened 2026-02-26 09:36:39 +03:00 by kerem · 2 comments
Owner

Originally created by @maysara on GitHub (Jun 20, 2018).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/246

I've enabled the Directory entry plugin, and set the disabled elements I want to hide to true, from the ones i tried, Business Category and website would not go away.

I've tried to trace down where this should be disabled, and got to the call "$subform->prepare( $disabled );" in application/plugins/DirectoryEntry.php . but did not move forward yet.

Originally created by @maysara on GitHub (Jun 20, 2018). Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/246 I've enabled the Directory entry plugin, and set the disabled elements I want to hide to true, from the ones i tried, Business Category and website would not go away. I've tried to trace down where this should be disabled, and got to the call "$subform->prepare( $disabled );" in application/plugins/DirectoryEntry.php . but did not move forward yet.
kerem closed this issue 2026-02-26 09:36:39 +03:00
Author
Owner

@mattymatty97 commented on GitHub (Mar 24, 2020):

problems are here:

https://github.com/opensolutions/ViMbAdmin/blob/master/library/ViMbAdmin/Form/Mailbox/DirectoryEntry.php

BusinesCategory is written with two s in this file

and website is called

LabeledUri

<!-- gh-comment-id:603155861 --> @mattymatty97 commented on GitHub (Mar 24, 2020): problems are here: https://github.com/opensolutions/ViMbAdmin/blob/master/library/ViMbAdmin/Form/Mailbox/DirectoryEntry.php BusinesCategory is written with two s in this file and website is called LabeledUri
Author
Owner

@mattymatty97 commented on GitHub (Mar 24, 2020):

tmp fix for now is in config file

use

disabled_elements.BusinessCategory = true

and

disabled_elements.LabeledUri = true

<!-- gh-comment-id:603156637 --> @mattymatty97 commented on GitHub (Mar 24, 2020): tmp fix for now is in config file use disabled_elements.BusinessCategory = true and disabled_elements.LabeledUri = true
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#197
No description provided.