Commit ea94acd3 authored by NITSAN's avatar NITSAN

Constant name updated

parent 71759839
......@@ -112,7 +112,16 @@
<span><f:translate key="categories"/>:</span>
<f:for each="{newsItem.categories}" as="category" iteration="iterator">
<span>
<f:link.page title="{category.title}" class="active" pageUid="{settings.listPid}" additionalParams="{tx_news_pi1:{overwriteDemand:{categories: category.uid}}}">{category.title}</f:link.page><f:if condition="{iterator.isLast} == false">, </f:if>
<f:if condition="{category.uid}=={settings.budgetCategoryID}">
<f:then>
<f:link.page title="{category.title}" class="active" pageUid="{settings.backPid}">{category.title}</f:link.page>
<f:if condition="{iterator.isLast} == false">, </f:if>
</f:then>
<f:else>
<f:link.page title="{category.title}" class="active" pageUid="{settings.listPid}" additionalParams="{tx_news_pi1:{overwriteDemand:{categories: category.uid}}}">{category.title}</f:link.page>
<f:if condition="{iterator.isLast} == false">, </f:if>
</f:else>
</f:if>
</span>
</f:for>
<f:if condition="{newsItem.authorFeUser}">
......
......@@ -135,6 +135,9 @@ tx_t3olayout.page.infoBannerButtonLable =
# cat=T3O Banner/Banner/004; type=int; label = Info Banner Subline Link target
tx_t3olayout.page.infoBannerSublineLink =
# cat=T3O Page-Settings/page/007; type=int; label = Budget category ID
tx_t3olayout.page.budgetCategoryID =
############
# Feedback #
############
......
......@@ -104,3 +104,5 @@ plugin.tx_form {
}
config.tx_extbase.view.widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPaths.100 = EXT:t3olayout/Resources/Private/Templates
plugin.tx_news.settings.budgetCategoryID = {$tx_t3olayout.page.budgetCategoryID}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment