Initial commit - Typo3 11.5.41
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<T3locallang>
|
||||
<meta type="array">
|
||||
<type>module</type>
|
||||
<description>Language labels for the Extbase Teaser extension in the FRONTEND</description>
|
||||
</meta>
|
||||
<data type="array">
|
||||
<languageKey index="default" type="array">
|
||||
<label index="newContentElementWizardTitle">Page teaser</label>
|
||||
<label index="newContentElementWizardDescription">Create powerful, dynamic page teasers with pw_teaser and fluid templates.</label>
|
||||
|
||||
<label index="pagination_first">«</label>
|
||||
<label index="pagination_previous"><</label>
|
||||
<label index="pagination_next">></label>
|
||||
<label index="pagination_last">»</label>
|
||||
</languageKey>
|
||||
<languageKey index="de" type="array">
|
||||
<label index="newContentElementWizardTitle">Seiten-Teaser</label>
|
||||
<label index="newContentElementWizardDescription">Erstelle mächtige und dynamische Seiten-Teaser mit pw_teaser und Fluid-Templates.</label>
|
||||
</languageKey>
|
||||
</data>
|
||||
</T3locallang>
|
||||
@@ -0,0 +1,137 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<T3locallang>
|
||||
<meta type="array">
|
||||
<type>module</type>
|
||||
<description>Language labels for the pw_teaser extension in the Flexform formular</description>
|
||||
</meta>
|
||||
<data type="array">
|
||||
<languageKey index="default" type="array">
|
||||
<label index="general">General preferences</label>
|
||||
<label index="ordering">Visibility options</label>
|
||||
<label index="enableFields">EnableFields</label>
|
||||
<label index="template">Template</label>
|
||||
|
||||
<label index="default">[Defined by TypoScript]</label>
|
||||
<label index="yes">Yes</label>
|
||||
<label index="no">No</label>
|
||||
|
||||
<label index="sourceLabel">Teaser source:</label>
|
||||
<label index="source.thisChildren">Childpages of current page</label>
|
||||
<label index="source.thisChildrenRecursively">Childpages of current page (recursively)</label>
|
||||
<label index="source.custom">Selected pages</label>
|
||||
<label index="source.customChildren">Childpages of selected pages</label>
|
||||
<label index="source.customChildrenRecursively">Childpages of selected pages (recursively)</label>
|
||||
<label index="customPages">Custom Pages:</label>
|
||||
<label index="recursionDepthFrom">Recursion depth (from):</label>
|
||||
<label index="recursionDepth">Recursion depth (to):</label>
|
||||
|
||||
<label index="loadContents">Load content elements of each page for use in template (requires more performance):</label>
|
||||
<label index="orderByPlugin">Order selected pages as in the list above (this will overwrite the order settings in visibility options tab)</label>
|
||||
<label index="pageMode">Page mode:</label>
|
||||
<label index="pageMode.flat">Flat</label>
|
||||
<label index="pageMode.nested">Nested</label>
|
||||
|
||||
<label index="order">Order by:</label>
|
||||
<label index="order.crdate">Creation Date</label>
|
||||
<label index="order.tstamp">Modification Date</label>
|
||||
<label index="order.starttime">Publish Date</label>
|
||||
<label index="order.endtime">Expiration Date</label>
|
||||
<label index="order.newtime">Marked as new Date</label>
|
||||
<label index="order.sorting">Sorting in pagetree</label>
|
||||
<label index="order.title">Title (alphabetical)</label>
|
||||
<label index="order.random">Random</label>
|
||||
<label index="order.customField">Custom field</label>
|
||||
|
||||
<label index="orderByCustomField">Custom field to order by (throws exception, if field doesn't exists):</label>
|
||||
<label index="orderDirection">Order direction:</label>
|
||||
<label index="orderDirection.asc">Ascending (A-Z, oldest and fewest first)</label>
|
||||
<label index="orderDirection.desc">Descending (Z-A, newest and most first)</label>
|
||||
<label index="limit">Limit (max. number of pages to show):</label>
|
||||
<label index="showNavHiddenItems">Show pages which are hidden for navigation:</label>
|
||||
<label index="hideCurrentPage">Hide current page from list:</label>
|
||||
<label index="showDoktypes">Show pages with doktypes (comma separated, leave empty to show all):</label>
|
||||
<label index="ignoreUids">Ignore the following pages by uid (comma separated):</label>
|
||||
<label index="categories">Filter by categories:</label>
|
||||
<label index="categoryMode">Category mode:</label>
|
||||
<label index="categoryMode.or">Show pages with selected categories (OR)</label>
|
||||
<label index="categoryMode.and">Show pages with selected categories (AND)</label>
|
||||
<label index="categoryMode.orNot">Do NOT show pages witch selected categories (OR)</label>
|
||||
<label index="categoryMode.andNot">Do NOT show pages witch selected categories (AND)</label>
|
||||
|
||||
<label index="templateType">Template type:</label>
|
||||
<label index="templateType.file">HTML file</label>
|
||||
<label index="templateType.directory">Fluid template directory</label>
|
||||
<label index="templateType.preset">Preset</label>
|
||||
|
||||
<label index="templatePreset">Template preset</label>
|
||||
<label index="templateRootFile">Template file (with fullpath, example: fileadmin/templates/pw_teaser/Example.html):</label>
|
||||
<label index="templateRootPath">Template directory (with fullpath, example: fileadmin/templates/pw_teaser/):</label>
|
||||
<label index="partialRootPath">Partial directory (with fullpath, example: fileadmin/templates/pw_teaser/Partials/):</label>
|
||||
<label index="layoutRootPath">Layouts directory (with fullpath, example: fileadmin/templates/pw_teaser/Layouts/):</label>
|
||||
</languageKey>
|
||||
<languageKey index="de" type="array">
|
||||
<label index="general">Allgemein Einstellungen</label>
|
||||
<label index="ordering">Anzeige Einstellungen</label>
|
||||
<label index="enableFields">Aktivierungsfelder</label>
|
||||
<label index="template">Template</label>
|
||||
|
||||
<label index="default">[Durch TypoScript definiert]</label>
|
||||
<label index="yes">Ja</label>
|
||||
<label index="no">Nein</label>
|
||||
|
||||
<label index="sourceLabel">Teaser-Quelle:</label>
|
||||
<label index="source.thisChildren">Unterseiten der aktuellen Seite</label>
|
||||
<label index="source.thisChildrenRecursively">Unterseiten der aktuellen Seite (rekursiv)</label>
|
||||
<label index="source.custom">Ausgewählte Seiten</label>
|
||||
<label index="source.customChildren">Unterseiten von ausgewählten Seiten</label>
|
||||
<label index="source.customChildrenRecursively">Unterseiten von ausgewählten Seiten (rekursiv)</label>
|
||||
<label index="customPages">Bestimmte Seiten:</label>
|
||||
<label index="recursionDepthFrom">Rekursionstiefe (von):</label>
|
||||
<label index="recursionDepth">Rekursionstiefe (bis):</label>
|
||||
|
||||
<label index="loadContents">Lade Inhalte (Content-Elemente) von jeder Seite um im Template verwendet werden zu können (benötigt mehr Performance):</label>
|
||||
<label index="orderByPlugin">Sortiere die ausgewählten Seiten wie in der Liste oben (Sortierungs-Einstellungen im Anzeige-Einstellungen-Tab werden überschrieben):</label>
|
||||
<label index="pageMode">Seiten-Modus:</label>
|
||||
<label index="pageMode.flat">Flach</label>
|
||||
<label index="pageMode.nested">Verschachtelt</label>
|
||||
|
||||
<label index="order">Sortieren nach:</label>
|
||||
<label index="order.crdate">Erstellungsdatum</label>
|
||||
<label index="order.tstamp">Änderungsdatum</label>
|
||||
<label index="order.starttime">Veröffentlichungsdatum (von)</label>
|
||||
<label index="order.endtime">Ablaufdatum (bis)</label>
|
||||
<label index="order.newtime">"Markiert als neu" Datum</label>
|
||||
<label index="order.sorting">Sortierung im Seitenbaum</label>
|
||||
<label index="order.title">Titel (alphabetisch)</label>
|
||||
<label index="order.random">Zufällige Sortierung</label>
|
||||
<label index="order.customField">Benutzerdefiniertes Feld</label>
|
||||
|
||||
<label index="orderByCustomField">Benutzerdefiniertes Feld, nach dem sortiert werden soll (wirft einen Fehler, wenn das Feld nicht existiert):</label>
|
||||
<label index="orderDirection">Sortierrichtung:</label>
|
||||
<label index="orderDirection.asc">Aufsteigend (A-Z, Älteste und Wenigste als Erstes)</label>
|
||||
<label index="orderDirection.desc">Absteigend (Z-A, Neuste und Meiste als Erstes)</label>
|
||||
<label index="limit">Limit (max. Seitenanzahl)</label>
|
||||
<label index="showNavHiddenItems">Zeige Seiten, welche in der Navigation ausgeblendet sind</label>
|
||||
<label index="hideCurrentPage">Verstecke die aktuelle Seite von der Liste</label>
|
||||
<label index="showDoktypes">Zeige Seiten mit dem Doktype (kommagetrennt, leer lassen für alle)</label>
|
||||
<label index="ignoreUids">Ignoriere die folgenden Seiten nach Ihrer UID (kommagetrennt)</label>
|
||||
<label index="categories">Filtere nach Kategorien</label>
|
||||
<label index="categoryMode">Kategorie Modus</label>
|
||||
<label index="categoryMode.or">Zeige Seiten mit ausgewählten Kategorien (ODER)</label>
|
||||
<label index="categoryMode.and">Zeige Seiten mit ausgewählten Kategorien (UND)</label>
|
||||
<label index="categoryMode.orNot">Zeige Seiten mit ausgewählten Kategorien NICHT (ODER)</label>
|
||||
<label index="categoryMode.andNot">Zeige Seiten mit ausgewählten Kategorien NICHT (UND)</label>
|
||||
|
||||
<label index="templateType">Template-Typ:</label>
|
||||
<label index="templateType.file">HTML-Datei</label>
|
||||
<label index="templateType.directory">Fluid-Template Verzeichnis</label>
|
||||
<label index="templateType.preset">Vorlage</label>
|
||||
|
||||
<label index="templatePreset">Template Vorlage</label>
|
||||
<label index="templateRootFile">Template Datei (mit Pfad)</label>
|
||||
<label index="templateRootPath">Template Verzeichnis</label>
|
||||
<label index="partialRootPath">Partial Verzeichnis</label>
|
||||
<label index="layoutRootPath">Layout Verzeichnis</label>
|
||||
</languageKey>
|
||||
</data>
|
||||
</T3locallang>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="tx-pwteaser-pi1">
|
||||
<f:render section="main" />
|
||||
</div>
|
||||
@@ -0,0 +1,13 @@
|
||||
<f:form.errors>
|
||||
<div class="error">
|
||||
{error.message}
|
||||
<f:if condition="{error.propertyName}">
|
||||
<p>
|
||||
<strong>{error.propertyName}</strong>:
|
||||
<f:for each="{error.errors}" as="errorDetail">
|
||||
{errorDetail.message}
|
||||
</f:for>
|
||||
</p>
|
||||
</f:if>
|
||||
</div>
|
||||
</f:form.errors>
|
||||
@@ -0,0 +1,17 @@
|
||||
{namespace pw=PwTeaserTeam\PwTeaser\ViewHelpers}
|
||||
<f:layout name="Main" />
|
||||
|
||||
<f:section name="main">
|
||||
<ul>
|
||||
<f:for each="{pages}" as="page" iteration="iterator">
|
||||
<li class="page {f:if(condition:'{iterator.isFirst}', then:' first')}{f:if(condition:'{iterator.isLast}', then:' last')}">
|
||||
<f:link.page pageUid="{page.uid}" title="{page.title}">
|
||||
<f:if condition="{page.media.0}">
|
||||
<f:image image="{page.media.0}" alt="{page.title}" width="110" />
|
||||
</f:if>
|
||||
<span>{page.title}</span>
|
||||
</f:link.page>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</f:section>
|
||||
@@ -0,0 +1,12 @@
|
||||
{namespace pw=PwTeaserTeam\PwTeaser\ViewHelpers}
|
||||
<f:layout name="Main" />
|
||||
|
||||
<f:section name="main">
|
||||
<ul>
|
||||
<f:for each="{pages}" as="page" iteration="iterator">
|
||||
<li class="page {f:if(condition:'{iterator.isFirst}', then:' first')}{f:if(condition:'{iterator.isLast}', then:' last')}">
|
||||
<f:link.page pageUid="{page.uid}" title="{page.title}">{page.title}</f:link.page>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</f:section>
|
||||
@@ -0,0 +1,94 @@
|
||||
{namespace pw=PwTeaserTeam\PwTeaser\ViewHelpers}
|
||||
<f:layout name="Main" />
|
||||
|
||||
<f:section name="main">
|
||||
<div><b>How many pages found:</b> {pages -> f:count()}</div>
|
||||
|
||||
<f:if condition="{pages -> f:count()}">
|
||||
<f:then>
|
||||
<f:widget.paginate objects="{pages}" as="pageObject" configuration="{itemsPerPage: 5, insertAbove: 0, insertBelow: 1}">
|
||||
<ul>
|
||||
<f:for each="{pageObject}" as="page">
|
||||
<li>
|
||||
<fieldset>
|
||||
<legend><b>Title:</b> <f:link.page pageUid="{page.uid}">{page.title}</f:link.page> <small>uid={page.uid}</small></legend>
|
||||
<ul>
|
||||
<li><b>isCurrentPage:</b> <f:if condition="{page.isCurrentPage}"><f:then>Yes</f:then><f:else>No</f:else></f:if></li>
|
||||
<li><b>subtitle:</b> {page.subtitle}</li>
|
||||
<li><b>navTitle:</b> {page.navTitle}</li>
|
||||
<li><b>keywords as String:</b> {page.keywordsAsString}</li>
|
||||
<li><b>keywords:</b>
|
||||
<f:if condition="{page.keywords}">
|
||||
<ul>
|
||||
<f:for each="{page.keywords}" as="keyword" iteration="iterator">
|
||||
<li{f:if(condition:'{iterator.isLast} == 1', then:' class="isLast"')}>
|
||||
{keyword}
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</f:if>
|
||||
</li>
|
||||
<li><b>description:</b> {page.description}</li>
|
||||
<li><b>abstract:</b> {page.abstract}</li>
|
||||
<li><b>slug:</b> {page.get.slug}</li>
|
||||
<li><b>media:</b>
|
||||
<f:if condition="{page.media}">
|
||||
<f:then>
|
||||
<ul>
|
||||
<f:for each="{page.media}" as="mediaFile">
|
||||
<li>
|
||||
<f:image image="{mediaFile}" alt="{mediaFile.title}" maxWidth="120" maxHeight="100" />
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</f:then>
|
||||
</f:if>
|
||||
</li>
|
||||
<li>
|
||||
<b>categories:</b>
|
||||
<f:if condition="{page.categories}">
|
||||
<f:then>
|
||||
<ul>
|
||||
<f:for each="{page.categories}" as="category">
|
||||
<li>
|
||||
<b>{category.title}</b> <small>uid={category.uid}</small>
|
||||
<f:if condition="{category.description}">
|
||||
<p>{category.description -> f:format.nl2br()}</p>
|
||||
</f:if>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</f:then>
|
||||
</f:if>
|
||||
</li>
|
||||
<li><b>crdate:</b> <f:format.date date="{page.get.crdate}" format="r" /></li>
|
||||
<li><b>tstamp:</b> <f:format.date date="{page.tstamp}" format="r" /></li>
|
||||
<li><b>lastUpdated:</b> <f:format.date date="{page.lastupdated}" format="r" /></li>
|
||||
<li><b>starttime:</b> <f:format.date date="{page.starttime}" format="r" /></li>
|
||||
<li><b>endtime:</b> <f:format.date date="{page.endtime}" format="r" /></li>
|
||||
<li><b>newUntil:</b> <f:format.date date="{page.newUntil}" format="r" /></li>
|
||||
<li><b>isNew:</b> <f:if condition="{page.isNew}"><f:then>Yes</f:then><f:else>No</f:else></f:if></li>
|
||||
<li><b>author:</b> {page.author}</li>
|
||||
<li><b>authorEmail:</b> {page.authorEmail}</li>
|
||||
<li><b>rootLineDepth:</b> {page.rootLineDepth}</li>
|
||||
<f:if condition="{settings.loadContents}">
|
||||
<li>
|
||||
<b>First image (of content elements, column 0)</b>: <br />
|
||||
<pw:getContent contents="{page.contents}" as="content" cType="image" index="0">
|
||||
<f:image src="{content.imageFiles.0.url}" alt="{content.imageFiles.0.title}" maxWidth="150" maxHeight="50" />
|
||||
</pw:getContent>
|
||||
</li>
|
||||
</f:if>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<br />
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</f:widget.paginate>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<i>This appears if the number of found pages is zero.</i>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:section>
|
||||
@@ -0,0 +1,104 @@
|
||||
<f:if condition="{configuration.insertAbove}">
|
||||
<f:render section="paginator" arguments="{pagination: pagination}" />
|
||||
</f:if>
|
||||
|
||||
<f:renderChildren arguments="{contentArguments}" />
|
||||
|
||||
<f:if condition="{configuration.insertBelow}">
|
||||
<f:render section="paginator" arguments="{pagination: pagination}" />
|
||||
</f:if>
|
||||
|
||||
<f:section name="paginator">
|
||||
<ul class="f3-widget-paginator">
|
||||
<!-- First -->
|
||||
<f:if condition="{f:translate(key:'pagination_first')}">
|
||||
<f:if condition="{pagination.isFirstPage}">
|
||||
<f:then>
|
||||
<li class="first">
|
||||
<span><f:translate key="pagination_first" /></span>
|
||||
</li>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<li class="first">
|
||||
<f:widget.link><f:translate key="pagination_first" /></f:widget.link>
|
||||
</li>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:if>
|
||||
|
||||
<!-- Previous -->
|
||||
<f:if condition="{f:translate(key:'pagination_previous')}">
|
||||
<f:if condition="{pagination.previousPage}">
|
||||
<f:then>
|
||||
<li class="previous">
|
||||
<f:if condition="{pagination.previousPage} > 1">
|
||||
<f:then>
|
||||
<!-- <f:translate key="previous" /> -->
|
||||
<f:widget.link arguments="{currentPage: pagination.previousPage}"><f:translate key="pagination_previous" /></f:widget.link>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:widget.link><f:translate key="pagination_previous" /></f:widget.link>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</li>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<li class="previous">
|
||||
<span><f:translate key="pagination_previous" /></span>
|
||||
</li>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:if>
|
||||
|
||||
<!-- Numbered pages -->
|
||||
<f:for each="{pagination.pages}" as="page">
|
||||
<f:if condition="{page.isCurrent}">
|
||||
<f:then>
|
||||
<li class="current">
|
||||
<span>{page.number}</span>
|
||||
</li>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<li>
|
||||
<f:if condition="{page.number} > 1">
|
||||
<f:then>
|
||||
<f:widget.link arguments="{currentPage: page.number}">{page.number}</f:widget.link>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:widget.link>{page.number}</f:widget.link>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</li>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:for>
|
||||
|
||||
<!-- Next -->
|
||||
<f:if condition="{f:translate(key:'pagination_next')}">
|
||||
<li class="next">
|
||||
<f:if condition="{pagination.nextPage}">
|
||||
<f:then>
|
||||
<f:widget.link arguments="{currentPage: pagination.nextPage}"><f:translate key="pagination_next" /></f:widget.link>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<span><f:translate key="pagination_next" /></span>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</li>
|
||||
</f:if>
|
||||
|
||||
<!-- Last -->
|
||||
<f:if condition="{f:translate(key:'pagination_last')}">
|
||||
<li class="last">
|
||||
<f:if condition="{pagination.isLastPage}">
|
||||
<f:then>
|
||||
<span><f:translate key="pagination_last" /></span>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:widget.link arguments="{currentPage: pagination.lastPage}"><f:translate key="pagination_last" /></f:widget.link>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</li>
|
||||
</f:if>
|
||||
</ul>
|
||||
</f:section>
|
||||
BIN
typo3conf/ext/pw_teaser/Resources/Public/Icons/Extension.png
Normal file
BIN
typo3conf/ext/pw_teaser/Resources/Public/Icons/Extension.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 238 B |
BIN
typo3conf/ext/pw_teaser/Resources/Public/Icons/Extension_x2.png
Normal file
BIN
typo3conf/ext/pw_teaser/Resources/Public/Icons/Extension_x2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 273 B |
BIN
typo3conf/ext/pw_teaser/Resources/Public/Icons/Extension_x4.png
Normal file
BIN
typo3conf/ext/pw_teaser/Resources/Public/Icons/Extension_x4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 296 B |
Reference in New Issue
Block a user