Skip to content

Commit

Permalink
[!!!][BUGFIX] Add missing configuration for shariff at news detail pa…
Browse files Browse the repository at this point in the history
…ge (#348)

Add default setting from tx_shariff
Add possibility to enable or disable shariff backend
  • Loading branch information
websi authored and MattiasNilsson committed Nov 15, 2017
1 parent d8479f0 commit c9a518e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{namespace rx=Reelworx\RxShariff\ViewHelper}
<rx:shariff services="{settings.detail.shariffServices}" enableBackend="true"/>
<rx:shariff data="{settings.detail.shariff.data}" services="{settings.detail.shariff.services}" enableBackend="{settings.detail.shariff.enableBackend}"/>
9 changes: 6 additions & 3 deletions Resources/Private/Extensions/News/TypoScript/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ plugin.tx_news.settings.timeline.cropMaxCharacters = 500

plugin.tx_news.settings.list.media.dummyImage = typo3conf/ext/theme_t3kit/Resources/Public/Extensions/News/images/no_image.png

#If extension rx_shariff is loaded, define services here
#twitter,facebook,googleplus,linkedin,xing,pinterest,whatsapp,mail,addthis,tumblr,flattr,diaspora,reddit,stumbleupon,threema,info
plugin.tx_news.settings.detail.shariffServices = facebook,twitter,whatsapp
plugin.tx_news.settings.detail.shariff < tt_content.list.20.rxshariff_shariff.settings
plugin.tx_news.settings.detail.shariff {
# If extension rx_shariff is loaded, define services here for news detail page
# twitter,facebook,googleplus,linkedin,xing,pinterest,whatsapp,mail,addthis,tumblr,flattr,diaspora,reddit,stumbleupon,threema,info
services = facebook,twitter,whatsapp
}

plugin.tx_news.settings.detail.showPrevNext = 1

Expand Down

0 comments on commit c9a518e

Please sign in to comment.