typoscript append keywords from tt_products -



typoscript append keywords from tt_products -

in typo3 4.4.2 i´m adding meta keywords tt_products this:

page.meta.keywords > page.meta.keywords.cobject = records page.meta.keywords.cobject { tables = tt_products source.data = gpvar:tt_products|product conf.tt_products = text conf.tt_products.field = subtitle conf.tt_products.required = 1 conf.tt_products.crop = 200 | ... | 1 conf.tt_products.striphtml = 1 }

after want append title of product meta keywords. i´ve tried := operator no luck:

page.meta.keywords := page.meta.keywords.cobject = records page.meta.keywords.cobject { tables = tt_products source.data = gpvar:tt_products|product conf.tt_products = text conf.tt_products.field = subtitle conf.tt_products.required = 1 conf.tt_products.crop = 200 | ... | 1 conf.tt_products.striphtml = 1 }

how can add together more keywords different database field?

thanks,

t book

you can utilize coa instead of records within page.meta.keywords.stdwrap.append. can add together easliy whatever want.

if page.meta.keywords defined need utilize stdwrap.append or stdwrap.prepend append or prepend anything.

page.meta.keywords.stdwrap.append = coa page.meta.keywords.stdwrap.append { 10 = text 10 { value = page awesome stdwrap { required = 1 notrimwrap = | || } } 20 = records 20 { tables = tt_products source.data = gpvar:tt_products|product conf.tt_products = text conf.tt_products.field = subtitle conf.tt_products.required = 1 conf.tt_products.crop = 200 | ... | 1 conf.tt_products.striphtml = 1 stdwrap { required = 1 notrimwrap = | || } } 30 = text 30 { value = whatever stdwrap { required = 1 notrimwrap = | || } } }

make sure utilize next on each item created within coa:

stdwrap { required = 1 notrimwrap = | || }

each item leading space if content present. otherwise end with: keywordsdefinedprevousilymy page awesomeyourrecordsdatawhatver

typoscript

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -