753 Posts in 312 Topics by 289 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1973 Views |
-
Where to extract Widget to?

1 March 2009 at 6:50am
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!
-
Re: Where to extract Widget to?

1 March 2009 at 8:06am
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
-
Re: Where to extract Widget to?

1 March 2009 at 8:16am
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!
-
Re: Where to extract Widget to?

1 March 2009 at 10:28pm
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
| 1973 Views | ||
|
Page:
1
|
Go to Top |


