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
+1 -1
View File
@@ -20,7 +20,7 @@
"gridelementsteam/gridelements": "^9.2",
"helhum/typo3-console": "^5.6",
"league/csv": "^9.2",
"pixelant/pxa-social-feed": "^1.10",
"pixelant/pxa-social-feed": "^2.0",
"symfony/http-client": "^4.3",
"symfony/options-resolver": "^4.2",
"symfony/property-access": "^4.3",
Generated
+12 -15
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "52a24229034a16de11c1cc47597e1df1",
"content-hash": "e68b342d4ca7a1c8f297b4e17a055dc5",
"packages": [
{
"name": "algo26-matthias/idna-convert",
@@ -1368,30 +1368,26 @@
},
{
"name": "pixelant/pxa-social-feed",
"version": "v1.10.0",
"version": "v2.0.3",
"source": {
"type": "git",
"url": "https://github.com/pixelant/pxa_social_feed.git",
"reference": "94ffd4a197e47e03227b6ecdb7af7227a67a16fc"
"reference": "d612540c186994197b0d433a0d468191104fe673"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pixelant/pxa_social_feed/zipball/94ffd4a197e47e03227b6ecdb7af7227a67a16fc",
"reference": "94ffd4a197e47e03227b6ecdb7af7227a67a16fc",
"url": "https://api.github.com/repos/pixelant/pxa_social_feed/zipball/d612540c186994197b0d433a0d468191104fe673",
"reference": "d612540c186994197b0d433a0d468191104fe673",
"shasum": ""
},
"require": {
"facebook/graph-sdk": "^5.6.3",
"facebook/graph-sdk": "~5.7.0",
"php": ">=7.1",
"typo3/cms-core": "^8.7 || ^9.5"
},
"replace": {
"pxa_social_feed": "self.version",
"typo3-ter/pxa-social-feed": "self.version"
},
"require-dev": {
"nimut/testing-framework": "^2.0",
"squizlabs/php_codesniffer": "2.*",
"symfony/finder": "^3.0"
"nimut/testing-framework": "^4.1",
"squizlabs/php_codesniffer": "^3.4"
},
"type": "typo3-cms-extension",
"extra": {
@@ -1399,6 +1395,7 @@
"dev-master": "0.0.x-dev"
},
"typo3/cms": {
"extension-key": "pxa_social_feed",
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/Web"
}
@@ -1410,7 +1407,7 @@
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0+"
"GPL-2.0-or-later"
],
"authors": [
{
@@ -1421,7 +1418,7 @@
}
],
"description": "Add Facebook, Instagram, and Twitter feeds to your site.",
"time": "2019-03-13T09:49:44+00:00"
"time": "2019-10-02T07:06:54+00:00"
},
{
"name": "psr/cache",
@@ -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>