17.07.2009, 12:40
|
#6
|
Продвинутый
Регистрация: 12.10.2004
Адрес: Severodonetsk, Ukraine
Сообщений: 60
|
Цитата:
Сообщение от Olga25
Код:
Damit die Meta's auch hirarchisch abgefragt werden können
# im Installations-Tool bei 'addRootLineFields' mit eintragen:
# subtitle,keywords,description,author
# => diese Felder können abgefragt werden mit
Не понятно куда надо внести subtitle,keywords,description,author?
У меня TYPO3 Ver. 4.2.6
|
Цитата:
Go to the "Install Tool", and in the field "[addRootLineFields]" add these
two fields: "keywords,description"
After you have done that, both fields are accessable from rootLine. That
means you can simply do something like this:
-- cut --
# Place this in CONSTANTS
meta.description = Here you put the def description
meta.keywords = and,here,you,put,the,default,keywords
-- cut --
-- cut --
# Place this in SETUP
page.meta.DESCRIPTION = {$meta.description}
page.meta.DESCRIPTION.override.data = fullRootLine:9,description,slide
page.meta.KEYWORDS = {$meta.keywords}
page.meta.KEYWORDS.override.data = fullRootLine:9,keywords,slide
-- cut --
|
© http://www.typo3board.com/fpost3716.html
|
|
|