From 807e1536c4d37596b2a2eee980c4e72ce9d51005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Go=CC=88rlach?= Date: Sun, 28 Jul 2019 23:05:29 +0200 Subject: [PATCH] first commit --- LICENSE | 165 ++++++++++++++++++ README.md | 11 ++ composer.json | 35 ++++ screenshot.png | Bin 0 -> 22417 bytes src/ContaoChangeNewsMoreBundle.php | 21 +++ src/ContaoManager/Plugin.php | 38 ++++ src/Resources/contao/dca/tl_news.php | 15 ++ src/Resources/contao/languages/de/tl_news.php | 6 + .../contao/templates/news/news_latest.html5 | 28 +++ .../contao/templates/news/news_short.html5 | 24 +++ 10 files changed, 343 insertions(+) create mode 100755 LICENSE create mode 100755 README.md create mode 100755 composer.json create mode 100644 screenshot.png create mode 100755 src/ContaoChangeNewsMoreBundle.php create mode 100755 src/ContaoManager/Plugin.php create mode 100644 src/Resources/contao/dca/tl_news.php create mode 100644 src/Resources/contao/languages/de/tl_news.php create mode 100644 src/Resources/contao/templates/news/news_latest.html5 create mode 100644 src/Resources/contao/templates/news/news_short.html5 diff --git a/LICENSE b/LICENSE new file mode 100755 index 0000000..65c5ca8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/README.md b/README.md new file mode 100755 index 0000000..cda4ee1 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# Contao ChangeNewsMore + +## DE +Diese Erweiterung ermöglicht es "Weiterlesen …" durch einen individuellen Text zu ersetzen. Funktioniert bei allen Weiterleitungszielen! + +## EN +This extension makes it possible to replace "Read more ..." with an individual text. Works for all forwarding destinations! + +## Screenshot + +![Example screenshot](https://raw.githubusercontent.com/ngdot/contao-changenewsmore/master/screenshot.png) \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100755 index 0000000..66391a4 --- /dev/null +++ b/composer.json @@ -0,0 +1,35 @@ +{ + "name": "ngdot/contao-changenewsmore", + "description": "This extension makes it possible to replace 'Read more ...' with an individual text. Works for all forwarding destinations!", + "keywords": ["contao", "news"], + "type": "contao-bundle", + "homepage": "https://nicolas-goerlach.de", + "license": "LGPL-3.0-or-later", + "authors": [{ + "name": "Nicolas Görlach", + "homepage": "https://nicolas-goerlach.de", + "email": "info@nicolas-goerlach.de", + "role": "Developer" + }], + "support": { + "email": "info@nicolas-goerlach.de", + "issues": "https://github.com/ngdot/contao-changenewsmore/issues", + "source": "https://github.com/ngdot/contao-changenewsmore", + "forum": "https://community.contao.org/de" + }, + "require": { + "contao/core-bundle": "~4.4", + "contao/news-bundle": "~4.4" + }, + "require-dev": { + "contao/manager-plugin": "^2.0" + }, + "autoload": { + "psr-4": { + "ContaoChangeNewsMoreBundle\\": "src/" + } + }, + "extra": { + "contao-manager-plugin": "ContaoChangeNewsMoreBundle\\ContaoManager\\Plugin" + } +} \ No newline at end of file diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..e3a4f3ed908e3995b5ab8f6f80f15ef76a76da22 GIT binary patch literal 22417 zcmdq}bx@UExCaaaf|SxFNO!k%i*$%|H_~0wNP~1MASs>F-3`*xE#2MkLVV6SGvD9e z%sa1x4twwW-gm8atzTUR%gc(rM8HLWfPi=@A^uhY0s?XX{Dp^m4&HfnkL?3qxSNWI z$V-Tb5XswF8=G1fK|oMN8R+WLNYGLB=;`U|_6*WeBiK1B1OF5#dowR@wx*LStRWiame4oIHdx{l>ky5D2HDM_+ZCg-j>^MQ1hG_z%S_KXxZ zGUc1Xw{M7s8xYgny)dHWg6A)YG^!i2AUgOV4MQ;?@!<>?Aycae#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V(zuWpkQrSDBcU|_DHS3@KA|gg>=lbw#=D8T!mcQ)kOkbhIQ=4K- zg~k-gl05sYHs+lP_Y@V@9S2WY z;~Z1{{fxFm(rBwy#C*l1`g!g1@vdRTQN^uek$d~-WBdiEqQQRDwa+ta5?YMjEkr0f zgCnkevla?HMTf-Unrr>$rjKp-05A{MgP^Sio^k4kMw5}y>y=7h*abwMQj`8V1=vIFu zVE)7wT;YovR~P3;7?)Xzh3-{Ga+6Kd?m^6pg&A5Mqlf>$x!{1`9oY?WN49L<5O@^o zLUl5Fm6C7eH}zd~3VS;?Ipw?ZV@4#U+I8!16!X{ZSc^b;W@Lk_j)vi>;(yKs{Rg4i Bi6{U7 literal 0 HcmV?d00001 diff --git a/src/ContaoChangeNewsMoreBundle.php b/src/ContaoChangeNewsMoreBundle.php new file mode 100755 index 0000000..0c89d7a --- /dev/null +++ b/src/ContaoChangeNewsMoreBundle.php @@ -0,0 +1,21 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace ContaoChangeNewsMoreBundle; + +use Symfony\Component\HttpKernel\Bundle\Bundle; + +/** + * Configures the Contao Swiper Bundle. + */ +class ContaoChangeNewsMoreBundle extends Bundle +{ +} diff --git a/src/ContaoManager/Plugin.php b/src/ContaoManager/Plugin.php new file mode 100755 index 0000000..32d11fa --- /dev/null +++ b/src/ContaoManager/Plugin.php @@ -0,0 +1,38 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace ContaoChangeNewsMoreBundleBundle\ContaoManager; + +use ContaoChangeNewsMoreBundleBundle\ContaoChangeNewsMoreBundleBundle; +use Contao\CoreBundle\ContaoCoreBundle; +use Contao\ManagerPlugin\Bundle\BundlePluginInterface; +use Contao\ManagerPlugin\Bundle\Config\BundleConfig; +use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; + + +/** + * Plugin for the Contao Manager. + * + * @author Nicolas Görlach + */ +class Plugin implements BundlePluginInterface +{ + /** + * {@inheritdoc} + */ + public function getBundles(ParserInterface $parser) + { + return [ + BundleConfig::create(ContaoChangeNewsMoreBundleBundle::class) + ->setLoadAfter([ContaoCoreBundle::class]) + ]; + } +} diff --git a/src/Resources/contao/dca/tl_news.php b/src/Resources/contao/dca/tl_news.php new file mode 100644 index 0000000..cb959eb --- /dev/null +++ b/src/Resources/contao/dca/tl_news.php @@ -0,0 +1,15 @@ + &$GLOBALS['TL_LANG']['tl_news']['linktext'], + 'exclude' => true, + 'inputType' => 'text', + 'eval' => array('maxlength'=>255, 'tl_class'=>'w50'), + 'sql' => "varchar(255) NOT NULL default ''" +); \ No newline at end of file diff --git a/src/Resources/contao/languages/de/tl_news.php b/src/Resources/contao/languages/de/tl_news.php new file mode 100644 index 0000000..80949ae --- /dev/null +++ b/src/Resources/contao/languages/de/tl_news.php @@ -0,0 +1,6 @@ +archive->id ?> blockclass ?>" itemscope itemtype="http://schema.org/Article"> + + hasMetaFields): ?> +

author ?> commentCount ?>

+ + + addImage): ?> + insert('image', $this->arrData); ?> + + +

linkHeadline ?>

+ +
+ teaser ?> +
+ + hasText || $this->hasTeaser): ?> + linktext): ?> + + + + + + + \ No newline at end of file diff --git a/src/Resources/contao/templates/news/news_short.html5 b/src/Resources/contao/templates/news/news_short.html5 new file mode 100644 index 0000000..3d21eb0 --- /dev/null +++ b/src/Resources/contao/templates/news/news_short.html5 @@ -0,0 +1,24 @@ + +
+ + hasMetaFields): ?> +

author ?> commentCount ?>

+ + +

linkHeadline ?>

+ +
+ teaser ?> +
+ + hasText || $this->hasTeaser): ?> + linktext): ?> + + + + + + +