Please tell me where to extract a Widget to so it is then available in CMS. I'm new to Silverstripe and have yet to find a concise answer on where to place a Widget in my SS directory structure. I'm using latest v of SS. Are they placed, like modules, in the root of my SS installation or within a folder (widgets) in the root or someplace else? Thanks!
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Yes, you have to place the widget folder (e.g. widget_WidgetName) into the root directory of ss, then call the following url:
http://www.yoursite.com/db/build?flush=1
(Normally you shouldn't need to add "?flush=1", but it can't be bad).
Regards,
Fabi
For clarity: With the latest version of SS (2.3.0) - Shouldn't the url call be http://www.yoursite.com/dev/build?flush=all ? instead of http://www.yoursite.com/db/build?flush=1 ? Thanks!
It seems you're right, you can read it here:
http://silverstripe.org/silverstripe-2-3-0-released-1000s-of-improvements/
I have also ss 2.3.0 and for me both is working, maybe they keep the old style for the next one or two version, but I think you should better use http://www.yoursite.com/dev/build?flush=all
Regards
Fabi