Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the layer configuration to the WidgetMetadata of the WidgetListPart #16064

Closed
jeanbaptistedalle opened this issue May 15, 2024 · 0 comments
Closed

Comments

@jeanbaptistedalle
Copy link

Hi !

For our business cases, we use widgets as some kind of folder that will contains more widgets (to avoid displaying to much button). This feature fit our needs, but as we continue to configure Orchard, we face a new issue : The top-level widget can be configured with a layer (like "Some role only" or "That kind of page only"), but we can't do the same thing for the sub-level widgets in the WidgetListPart which means that, if we want something like

-Folder
|-Item 1 (for all)
|-Item 2 (for admin)

We have to create 2 widgets, first for the layer everyone but admin, that have only Item1 and another widget for admin only with the 2 items.

Maybe I missed something that let me configure the layer in the widgetlist part but I think I should be usefull to have in the WidgetListPart the Layer configuration ?

@jeanbaptistedalle jeanbaptistedalle changed the title Add the layer information to the WidgetMetadata of the WidgetListPart Add the layer configuration to the WidgetMetadata of the WidgetListPart May 15, 2024
@OrchardCMS OrchardCMS locked and limited conversation to collaborators May 15, 2024
@Piedone Piedone converted this issue into discussion #16065 May 15, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

1 participant