Update social media extension, adjust template

This commit is contained in:
Björn Fromme
2019-10-28 18:48:35 +01:00
parent 417b9c38ad
commit 4938e39ea5
4 changed files with 22 additions and 17 deletions
@@ -19,3 +19,10 @@ page.includeJSFooter {
pxa_social_feed_4 >
pxa_social_feed_5 >
}
page.includeJSFooterlibs {
pxa_social_feed_1 >
pxa_social_feed_2 >
pxa_social_feed_3 >
pxa_social_feed_4 >
}
@@ -1,4 +1,5 @@
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:pxa="http://typo3.org/ns/Pixelant/PxaSocialFeed/ViewHelpers"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers">
<f:layout name="Default"/>
@@ -24,7 +25,7 @@
</div>
<div class="teaserbox__main teaserbox__main--fixed-height">
<p>{feed.postDate -> f:format.date(format: 'd.m.Y')} @{feed.configuration.name}</p>
{feed.message -> f:format.crop(maxCharacters: '120') -> f:format.nl2br()}
<f:format.raw>{feed.decodedMessage -> f:format.crop(maxCharacters: '120') -> pxa:parseMessage(type: feed.configuration.token.type) -> f:format.nl2br()}</f:format.raw>
</div>
<button class="button button--full teaserbox__button">{f:translate(key: 'tx_eptheme.label.teaserbutton.to_post', extensionName: 'ep_theme')}</button>
</f:link.typolink>