How do I "navigate" to a new page on my dashboard? #1464
Replies: 2 comments
-
So after a few more hours :( I've found a way round this. Basically I've made each "room" including the home page, a single page. Originally I had a sidebar page and a main page. If I join them together for every room I can make this work (just like the mobile site - except bigger). While this is ok, it requires I copy the sidebar to EVERY room, and if I make a change I have to copy the code everywhere. Before anyone suggests, I've tried !include, which works but mucks up the formatting of my grid :( Oh well. If anyone has a better solution I'd love to hear it. Thanks, Tony |
Beta Was this translation helpful? Give feedback.
-
I know you said "before anyone says used !include" that's what I was going to suggest lol. I have only a mobile (cellphone) layout that I have a common chip element to include along the top of each room. Instead of having the chips on each page coded, I coded them once and then !included them on each room.
Surely you could do something similar for your left side area. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've successfully created a mobile minimalist dashboard that I'm really pleased with. The home page has rooms on it, and when you click on a room, it changes the home page to the room page. Then at the top of the room page I can go back to home - all works fine.
So now I've created a tablet dashboard and want to do the same thing (kind of).
Here's a pic of my "home" tablet page.
The left side of the page (shown with a yellow dotted line) is my side bar and I want that to remain there all the time. But the right side (shown with a red dotted line) is the part I want to change when I click on a room.
I just can't get this to work!
For the mobile site, I just added path's to the top of each room page and included the pages in the main mobile dashboard yaml file - which showed the first in the list by default (main) and allowed me to swap.
But how do I do this when I have a layout grid with both a side bar and main section that i want to replace?
Any help here would be really appreciated, I've been fighting this now for a few days lol.
Thanks,
Tony
Beta Was this translation helpful? Give feedback.
All reactions