Page 1 of 1
Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 10:37 am
by alan_sh
If you look here
https://webserve4-nas.synology.me/newgmntestv2/ I've created an index page with a vertical menu on the LH side. I did this with a flex grid and it works.
I'd like to have the same menu on every page. Is there a way of doing this? Linking the menu somehow? Or some other way?
Cheers
Alan
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 11:43 am
by lummis
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 12:10 pm
by alan_sh
Interesting. I use a master page. I hadn't considered changing it to a master frame.
Let me have a play
Alan
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 12:20 pm
by alan_sh
I can't seem to embed a content placeholder inside a flex grid or layout grid. Which I think I need if I want a menu down the LH side.
Am I doing something wrong or is this not the way to do it?
Alan
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 12:32 pm
by Pablo
A content place holder cannot be inside another object.
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 1:07 pm
by alan_sh
Thanks.
so, is there no way of doing what I want?
Alan
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 1:16 pm
by Pablo
Maybe you can use an embedded page (with only the menu) instead?
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 3:11 pm
by alan_sh
Pablo,
That nearly works, but even though I put the embedded page inside the flex grid, when I previewed it, the menu appeared over on the left had side of the browser and not next to the card containers.
So, are there any special things I need to do to get an embedded page inside a flex grid?
Here is the index page that I am using to test it all out
https://www.dropbox.com/scl/fi/0nh1xtyf ... 4bb4e&dl=1 if that helps.
Alan
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 3:26 pm
by Pablo
First note that using an embedded page inside a flex grid (or other container) is not officially supported, but in some cases it may work.
On the master page, the menu has an absolute position, so that will not work in a flexible layout.
You will have to place the menu inside a layout grid to make it floating.
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 3:38 pm
by alan_sh
Thanks - I think that will work.
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 3:46 pm
by alan_sh
Almost there. The issue I have now is that the submenu's appear underneath the card next to them and not on top. Any thoughts on how to overcome that?
Updated .WBS file is here
https://www.dropbox.com/scl/fi/0nh1xtyf ... 4bb4e&dl=1
Alan
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 3:50 pm
by Pablo
Uncheck 'Embedded page is a layer'.
Re: Is there a way to have the same vertical menu on every page?
Posted: Fri Nov 01, 2024 4:23 pm
by alan_sh
Thank you, Pablo,
That all works nicely.
Alan