diff --git a/README.md b/README.md index ff6831b..854b812 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,9 @@ Contao Share Buttons =================== -Simple extension to provide share buttons as a module, content element and for news articles in Contao. +Simple extension to provide share buttons as a module, content element and for news articles in Contao. In each case you have the same set of options. -In each case you can define which share buttons should be included: - -- Facebook -- Twitter -- Google+ -- LinkedIn -- Xing (not working at the moment) -- E-Mail +![Element settings](https://raw.githubusercontent.com/fritzmg/contao-sharebuttons/master/element.png) ## Themes diff --git a/element.png b/element.png new file mode 100644 index 0000000..206b83a Binary files /dev/null and b/element.png differ diff --git a/system/modules/sharebuttons/dca/tl_content.php b/system/modules/sharebuttons/dca/tl_content.php index 34878fa..6b39c17 100644 --- a/system/modules/sharebuttons/dca/tl_content.php +++ b/system/modules/sharebuttons/dca/tl_content.php @@ -16,7 +16,7 @@ /** * Add palettes to tl_content */ -$GLOBALS['TL_DCA']['tl_content']['palettes']['sharebuttons'] = '{title_legend},type,headline;{sharebuttons_legend},sharebuttons_networks,sharebuttons_theme,sharebuttons_template;{sharebuttons_css_legend},sharebuttons_usecss;{expert_legend},cssID,align,space'; +$GLOBALS['TL_DCA']['tl_content']['palettes']['sharebuttons'] = '{type_legend},type,headline;{sharebuttons_legend},sharebuttons_networks,sharebuttons_theme,sharebuttons_template;{sharebuttons_css_legend},sharebuttons_usecss;{expert_legend},cssID,align,space'; /** * Add fields to tl_content