[TYPO3-german] tx_news: metadaten und <title>
Philipp Holdener
philipp at holdener.ch
Thu Jul 3 12:35:47 CEST 2014
Hallo Georg
>
> standard template schaut so aus
>
> <f:if condition="{newsItem.alternativeTitle}">
> <f:then>
> <n:titleTag>
> <n:format.htmlentitiesDecode>{newsItem.alternativeTitle}</n:format.htmlentitiesDecode>
>
> </n:titleTag>
> </f:then>
> <f:else>
> <n:titleTag>
> <n:format.htmlentitiesDecode>{newsItem.title}</n:format.htmlentitiesDecode>
> </n:titleTag>
> </f:else>
> </f:if>
>
> sollte also nicht sein
>
> Georg
Das steht bei mir 1:1 im template.
<f:if condition="{settings.templateLayout} == 0">
<n:format.nothing>
<f:if condition="{newsItem.alternativeTitle}">
<f:then>
<n:titleTag>
<n:format.htmlentitiesDecode>{newsItem.alternativeTitle}</n:format.htmlentitiesDecode>
</n:titleTag>
</f:then>
<f:else>
<n:titleTag>
<n:format.htmlentitiesDecode>{newsItem.title}</n:format.htmlentitiesDecode>
</n:titleTag>
</f:else>
</f:if>
<f:render partial="Detail/Opengraph" arguments="{newsItem:
newsItem, settings:settings}" />
</n:format.nothing>
...
Ich hab die Ext "tq_seo" installiert. Könnte die einen Einfluss drauf haben?
Gruss
Philipp
More information about the TYPO3-german
mailing list