refactor: remove code outside the first-goal scope
Keeps what the product detail pages, the AJAX date/price tables, the API endpoints (/api/hotel, /api/product, /api/content/*), the chatbot content-only page type and the MyE&P import need, determined by a class and template reference closure from those entry points. Removed: search, watchlist, calendar/contingent AJAX, snow report and contingent imports, groups swiss, iCal, reseller export, team/EpTeam, newsletter, CSV feeds, BpnConnect client, backend modules and page module previews, Tcemain hooks, scheduler tasks, staging and static search middlewares, forms and their finishers, gridelements and news templates, and the plugins and content elements not used on product pages. The SFTP and local XML import sources are gone; the import reads MyE&P only (ApiImportSource as ProductImportSource) and runs as ep:import-dates. ext_tables.sql stays complete so no table or column is dropped while the TYPO3 10 project shares the data. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
a46918de9d
commit
b890a55115
331 files changed
+18
-23190
No files matched your search
@@ -1,51 +0,0 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true">
|
||||
|
||||
<f:alias map="{images: '{media -> v:iterator.filter(propertyName: \'showinpreview\', filter: 0)}'}">
|
||||
<f:if condition="{images}">
|
||||
<f:if condition="{images -> f:count()} == 1">
|
||||
<f:then>
|
||||
<f:link.typolink parameter="{images.0.originalResource.link}" title="{images.0.title}">
|
||||
<img src="{f:uri.image(image: images.0, width: '770', height: '430c+100')}"
|
||||
class="block w-full h-auto mb-4"
|
||||
alt="{images.0.alternative}">
|
||||
</f:link.typolink>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<div class="splide mb-4"
|
||||
data-controller="slider"
|
||||
data-slider-preset-value="content">
|
||||
<div id="carousel-{id}" class="splide__track">
|
||||
<ul class="splide__list">
|
||||
<f:for each="{images}" as="image" iteration="iteration">
|
||||
<li class="splide__slide">
|
||||
<f:link.typolink parameter="{image.originalResource.link}"
|
||||
class="relative bg-cover bg-center" title="{image.title}">
|
||||
<img src="{f:uri.image(image: image, width: '770', height: '430c+100')}"
|
||||
class="block w-full h-auto"
|
||||
alt="{image.alternative}">
|
||||
</f:link.typolink>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</div>
|
||||
<f:if condition="{images -> f:count()} > 1">
|
||||
<div class="hidden md:grid md:grid-cols-5 md:gap-2 md:pt-4 md:pb-8">
|
||||
<f:for each="{images}" as="image" iteration="iteration">
|
||||
<f:if condition="{iteration.cycle} <= 5">
|
||||
<a href="#" class="block" data-slide="{iteration.index}" title="{image.title}">
|
||||
<img src="{f:uri.image(image: image, width: '150', height: '85c+100')}"
|
||||
class="block w-full h-auto" alt="{image.alternative}">
|
||||
</a>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</div>
|
||||
</f:if>
|
||||
</div>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:if>
|
||||
</f:alias>
|
||||
|
||||
</html>
|
||||
@@ -1,70 +0,0 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true">
|
||||
|
||||
<div class="mb-8">
|
||||
<n:excludeDisplayedNews newsItem="{newsItem}"/>
|
||||
<div class="relative flex flex-col md:flex-row md:space-x-8">
|
||||
<div class="mb-4 md:w-1/2">
|
||||
<f:if condition="{newsItem.mediaPreviews}">
|
||||
<f:then>
|
||||
<f:if condition="{newsItem.mediaPreviews.0}">
|
||||
<f:alias map="{mediaElement: '{newsItem.mediaPreviews.0}'}">
|
||||
<img class="block w-full h-auto"
|
||||
src="{f:uri.image(image: mediaElement, width: '640', height: '360c+50')}"
|
||||
loading="lazy"
|
||||
alt="{mediaElement.originalResource.alternative}">
|
||||
</f:alias>
|
||||
</f:if>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:if condition="{newsItem.media}">
|
||||
<f:alias map="{mediaElement: '{newsItem.media.0}'}">
|
||||
<img class="block w-full h-auto"
|
||||
src="{f:uri.image(image: mediaElement, width: '640', height: '360c+50')}"
|
||||
loading="lazy"
|
||||
alt="{mediaElement.originalResource.alternative}">
|
||||
</f:alias>
|
||||
</f:if>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</div>
|
||||
<div class="md:flex-1">
|
||||
<n:link newsItem="{newsItem}" settings="{settings}" class="peer">
|
||||
<h3 class="blog-entry__headline">
|
||||
{newsItem.title}
|
||||
</h3>
|
||||
<span class="absolute inset-0"></span>
|
||||
</n:link>
|
||||
<p class="text-sm italic mb-4">
|
||||
<f:if condition="{newsItem.author}">{newsItem.author} am </f:if>
|
||||
<time datetime="{f:format.date(date:newsItem.datetime, format:'Y-m-d')}"><f:format.date format="{f:translate(key:'dateFormat')}">{newsItem.datetime}</f:format.date></time>
|
||||
<f:if condition="{newsItem.tags}"> in
|
||||
<f:for each="{newsItem.tags}" as="tag" iteration="iteration">
|
||||
<f:link.page pageUid="{settings.tagListPageUid}" additionalParams="{tx_news_pi1:{overwriteDemand:{tags: tag}}}">
|
||||
{tag.title}
|
||||
</f:link.page>
|
||||
{f:if(condition: iteration.isLast, else: ', ')}
|
||||
</f:for>
|
||||
</f:if>
|
||||
</p>
|
||||
<n:removeMediaTags>
|
||||
<div class="mb-4">
|
||||
<f:if condition="{newsItem.teaser}">
|
||||
<f:then>
|
||||
{newsItem.teaser -> f:format.crop(maxCharacters: '{settings.cropMaxCharacters}', respectWordBoundaries:'1') -> f:format.html()}
|
||||
</f:then>
|
||||
<f:else>
|
||||
{newsItem.bodytext -> f:format.crop(maxCharacters: '{settings.cropMaxCharacters}', respectWordBoundaries:'1') -> f:format.html()}
|
||||
</f:else>
|
||||
</f:if>
|
||||
</div>
|
||||
</n:removeMediaTags>
|
||||
<div class="button bg-button button--small">
|
||||
<f:translate key="more-link"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user