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.

All other Modules /

Discuss all other Modules here.

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

ShareThis Module


Go to End


2 Posts   1669 Views

Avatar
Andrew Houle

Community Member, 140 Posts

18 February 2009 at 5:18am

I'm looking for a way to set the default for the sharethis icon to be checked on in the cms. I was hoping something like this would work:

static $defaults = array ( 
		'sharethis' => true
	);

but it doesn't seem to work. Does anyone have any ideas on how I could get that functionality to work. Thanks in advance for you help!

Avatar
Andrew Houle

Community Member, 140 Posts

25 February 2009 at 9:30am

Figure this out finally, for the sake of completion, all you have to add is:

static $defaults = array ( 
		'ShareIcons' => true
	);