How do I add widgets? I can't seem to understand documentation. #2503
|
First off this looks amazing, but I can't seem to understand the documentation. I'm trying to add the calendar widget. Where should I place the code snippet shown on that page? I tried figuring that out by going to the widget page, and added this code snippet to my - calendar:
- calendar:
widget:
type: calendarAnd that did nothing. I also tried various iterations of adding and removing icons, hrefs, and descriptions. I tried asking the ai chatbot, and it told me to add the code snippet to I've also tried a bunch of random things which I can't fully list, but nothing worked. Can someone tell me how I should do this, and where in the documentation this was explained, since there's some part of the documentation that I'm not reading correctly. |
Replies: 5 comments 7 replies
|
Widgets go in the services.yaml. Your code snippet seems to be missing much information, see this link for information: https://gethomepage.dev/v0.8.2/widgets/services/calendar/#monthly-view |
|
@adm2k is right to point you to the If you check out the configuration docs, you'll see that there's a section for each part of the configuration, and each of them have a specific Here's how my $ tree config
config
├── bookmarks.yaml
├── custom.css
├── custom.js
├── docker.yaml
├── kubernetes.yaml
├── logs
│ └── homepage.log
├── services.yaml
├── settings.yaml
└── widgets.yamlThere's no Also on the configuration docs, note first tip on using yaml:
It looks like the problem you've got is indentation. When I update the indentation: - calendar:
- calendar:
widget:
type: calendar |
|
If it's supposes to go in the services.yaml, why is the chat AI telling me to put it in widget.yaml? |
|
This discussion has been automatically closed because it was marked as answered. |
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |


@adm2k is right to point you to the
calendardocs, but I think you're also looking for a bit more help for a first time user.If you check out the configuration docs, you'll see that there's a section for each part of the configuration, and each of them have a specific
.yamlfile associated.Here's how my
config/directory looks:There's no
homepage.yaml, it's not a valid file here.Also on the configuration docs, note first tip on using yaml: