[TYPO3-english] Overwrite metatags with TS
Bert Hiddink [BENDOO e-work solutions]
hiddink at bendoo.nl
Wed Oct 15 17:47:48 CEST 2014
Hello Jan/Phillip,
Thanks for your replies, what finally worked for me was the snippet below.
@Jan: there was a typo in your example, 'table' should be placed before
the 'select'
Furthermote, it did not work without putting the 'pidInList'-statement.
But with these adjustments, it works now, great!
Thanks,
Bert
page.meta.description {
cObject = CONTENT
cObject {
table = sys_category
select {
pidInList={$categoriesPid}
uidInList.data = GP:tx_news_pi1|overwriteDemand|categories
uidInList.intval = 1
}
renderObj = TEXT
renderObj.field = description
}
}
page.meta.keywords < page.meta.description
page.meta.keywords.cObject.renderObj.field = tx_my_ext_keywords
#etc,etc...
On 14-10-14 02:31, Philipp Gampe wrote:
> Hi Jan Bednarik,
>
> Jan Bednarik wrote:
>
>> uidInList.data = GP:my_uid
> uidInList.intval = 1
>
> Best regards
>
More information about the TYPO3-english
mailing list