Topic on Skin talk:Chameleon

"Menu"-component ignores "modification"

3
77.2.183.193 (talkcontribs)

Hello,

apparently the modification is ignored when used with Menu-components:

This code should hide the menu for users that have no edit-rights:

<component type="Menu" message="riskmanagermenue">

<modification type="ShowOnlyFor" permission="edit" namespace="" />

</component>

Unfortunately this modification is ignored; I tried it with "HideFor", but without success.

Is this a known bug?

Thank you for this great skin!!!

Daniel

F.trott (talkcontribs)

Modifications for the moment only work on top-level components. The problem is that the modifications have to be applied by the parent of the component they are acting on. This is implemented for Structure and Cell, but not yet for others, like NavbarHorizontal.

It would be great if you could add an issue at https://github.com/cmln/chameleon/issues

Stephan

89.244.190.48 (talkcontribs)
Reply to ""Menu"-component ignores "modification""