Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Using CWP for client projects


Go to End


2 Posts   568 Views

Avatar
dave.m

Community Member, 19 Posts

17 February 2015 at 7:19pm

How suitable is it for client work (non Govt) ? I've run into a few things but I'm in the early stages of this project so could pull back if necessary.
i.e. What is a good way of removing modules specified in cwp-recipe-basic - I don't need fulltextsearch as the client doesn't want/use Solr etc.

Even if I set the locale in mysite/_config.php in cwp-core/_config.php is the following code

if (class_exists('Translatable')) {
	Translatable::set_default_locale('en_NZ');

Turns out this is why my basic search wasn't working.

Avatar
dave.m

Community Member, 19 Posts

18 February 2015 at 12:46am

Solved: Was using i18n::set_locale not Translatable::set_default_locale