Pages not working for me. #1421
-
Hi, I'm trying and failing to create a dashboard which has different pages. I'd like one page for home use and one page for work use. Within my conf.yml I have:
And within the same place I have my conf.yml I have files home.yml and work.yml. Which look like so:
Before I go further, is there any obvious mistakes I've already made? Many thanks for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
Starting to wonder if anyone knows how pages work. From every thread I can read, there seems to be confusion. |
Beta Was this translation helpful? Give feedback.
-
Really, no one knows about this? :( |
Beta Was this translation helpful? Give feedback.
-
I haven't gotten to pages yet, but I believe you should try adding the pageInfo section ahead of the pages section. imho, I'm thinking to design each page I want as just the conf.yml then save it to the page conf. Then I should just need to adjust the conf.yml when I have everything worked out. The docs are a little light on actual yml file structure and combinations. |
Beta Was this translation helpful? Give feedback.
-
Can't spot any issue while overlooking quickly, is there any error in the log? |
Beta Was this translation helpful? Give feedback.
-
I completely agree. Often, the documentation can be confusing, and many threads in the forums end up going in circles without providing a clear solution. It's frustrating to reach dead ends frequently. I think it would be much easier if someone could share a base template for creating a main page (index) and two additional pages. This would provide a clearer starting point and help avoid the common pitfalls. |
Beta Was this translation helpful? Give feedback.
@Niskeletor
I noticed, the file should be in /app/user-data as this is the new place for config files.
And yes it is definitely possible locally, the same way as is is wich cloud providers.
Okay I just looked into this and it's pretty straightforward, altough I agree, the docs are a bit vague.
Create a additional file in the mounted user-data folder -> test-yml
Paste the a dashy config file, but only sections and pageInfo: