Skip to content

Commit

Permalink
Remove unused TypoScript
Browse files Browse the repository at this point in the history
  • Loading branch information
o-ba committed Apr 12, 2024
1 parent 902ce1d commit 5b4e6b3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public static function renderStatic(array $arguments, \Closure $renderChildrenCl
$subView->assign('rawData', $block->getRecord()->getRawRecord()->toArray());
$subView->assign('context', $context);
try {

$content = $subView->render();
} catch (InvalidTemplateResourceException) {
// Render via TypoScript as fallback
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,3 @@ lib.contentElement {
0 = EXT:psi/Resources/Private/Templates/Layouts/
}
}

# Files Download CE

tt_content {
psi_downloads =< lib.contentElement
psi_downloads {
templateName = PsiDownloads
dataProcessing {
30 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
30 {
references.fieldName = media
as = image
}
}
}
}


Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="downloads-container">
<div class="downloads-inner">
<ul class="downloads-wrap">
<f:for as="file" each="{data.media}">
<f:for each="{data.media}" as="file" >
<li class="downloads-single profile__card">
<p class="downloads-date"><f:format.date format="d.m.Y" date="{file.originalFile.properties.creation_date}"></f:format.date></p>
<p class="downloads-filename">{file.title}</p>
Expand Down

0 comments on commit 5b4e6b3

Please sign in to comment.