featdd / dpn_glossary

Glossary extension for TYPO3

Home Page:http://typo3.org/extensions/repository/view/dpn_glossary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metadescriptions Detailview

criwe opened this issue · comments

commented

HI!

One question: is it possible to override the metadescription in the detailview (i.e. with the term description)?
Thank you!
Best,
Christoph

commented

Hi!
The line:

[traverse(request.getQueryParams(), 'tx_dpnglossary_glossary/term') > 0]

determins if I´m in the detailview. That fine!

I tried to get some infomations (the name of the term) into the metadescription, but output is "RECORDS"?!

temp.termdesc = RECORDS
temp.termdesc {
source = {GP:tx_dpnglossary_glossary|term}
source.htmlSpecialChars = 1
source.insertData = 1
tables = tx_news_domain_model_news
conf.tx_dpnglossary_domain_model_term >
conf.tx_dpnglossary_domain_model_term = TEXT
conf.tx_dpnglossary_domain_model_term.field = name
}
page.meta.description < temp.termdesc
page.meta.description.replace = 1

Any Ideas?
Thanks!
Best,
Christoph

commented

So, got it, maybe that helps someone:

[traverse(request.getQueryParams(), 'tx_dpnglossary_glossary/term') > 0]

temp.termMeta = RECORDS
temp.termMeta {
source = {GP:tx_dpnglossary_glossary|term}
source.htmlSpecialChars = 1
source.insertData = 1
tables = tx_dpnglossary_domain_model_description
conf.tx_dpnglossary_domain_model_description >
conf.tx_dpnglossary_domain_model_description = TEXT
conf.tx_dpnglossary_domain_model_description.field = text
conf.tx_dpnglossary_domain_model_description.crop = 156 | ... | 1
conf.tx_dpnglossary_domain_model_description.stripHtml = 1
}

page.headerData.6 >
page.headerData.6 = COA
page.headerData.6 < temp.termMeta
page.headerData.6.wrap =
[else]
...
[end]