Skip to content

Commit

Permalink
Fixed a small issue in tl_content, updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg committed Nov 17, 2014
1 parent 98481b7 commit 3334876
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Binary file added element.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion system/modules/sharebuttons/dca/tl_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3334876

Please sign in to comment.