I need to hide a menu from my layout page depending on which page I’m visiting.
I need to set on each page wether I want or not the menu to be visible.
I tried using globals on the app structure page, but I don’t know how to set the global variable each time I open a page and how to check the global condition on the dmx-hide attribute.
You can also use browser extension to get the page path and whatever and use it with your dynamic attribute or conditional region, or you can use use routing and apply the condition using query manager.
Seems like my issue is somewhat related to this so I’ll try posting here before starting a new thread.
I have a table of records and under each row of the table I have a hidden row that I toggle using a dynamic collapse. When I click the “Collapse” button in the row that is visible, the hidden collapse opens and the table populates with the correct sub table info, however all the other tables in the still hidden collapses populate with data as well.
So I figured that maybe turning the table into a server side include and only loading into the visible collapse may be the way to go. Even if this is not the correct approach (I’ll experiment), I noticed that my server side include element is missing the dynamic properties that seem to appear under the include properties in the screenshots on this how to. Is this a bug I need to report or am I doing something wrong?