Widgets System
-
But this is exciting. Is there now going to be a GLOBAL sidebar, aside from the HOME and CATEGORY sidebars? That is, every public-facing page will have a sidebar.
-
Yeah each theme can define their own widget areas, so you could literally have a sidebar bonanza on every page if you wanted
I'll make sure to add the aforementioned sidebar widget areas to both Vanilla and Lavender before 0.4.x hits
-
Updated our community site with the latest widget code. Check out the sidebars!
-
Wow, I really love where this is going.
You guys are awesome! -
@maniacmusic said:
Wow, I really love where this is going.
You guys are awesome!Thanks Still remember you from the 0.0.1 days
-
Nice work!
Currently on my theme there is no templates in the widget menu. So i am unable to disable the MOTD. The theme is currently running off vanilla so the changes should appear in my theme?
Had to revert back to Vanilla to for the time being.Edit
Ok so i have managed to get rid of the MOTD. I think i managed this by disabling it in Vanilla and then switching themes. Is there any modifications i need to make to my theme to get the templates part of the widget system to display? -
For my part, on
forever restartall
it asked fornode app --upgrade
and I got this error : PasteBin
I managed to bypass it by uninstalling all plugins with `npm uninstall' but maybe others can have this too.
Can't tell wich plugin caused this.
But once in place, I can tell, it rocks!
-
Apparently, it's already happened and solved
-
@Scuzz said:
Is there any modifications i need to make to my theme to get the templates part of the widget system to display?
Yup. Have a look at the changes I made to cerulean to update it for the widget system: https://github.com/designcreateplay/nodebb-theme-cerulean/commit/50e49a9da5a89484fa8001bbda2e613b69f18e86
Assuming you aren't running custom templates that's all you have to do. If you are, then have a look at the commits done for Lavender. I'll try and get a dev guide for the widget system up today
-
@psychobunny Ah great!
No template edits yet but I was considering it for the future though. I'll have to keep up to date with your themes
Thanks. -
@circoloco said:
Wow.
How do I upgrade to edge? It's not a github branch, right?It's the master branch.