[TYPO3-english] tt_news subhead/bodytext into meta descriptionfield?
Victor Livakovsky
v-tyok at mail.ru
Fri Mar 25 13:43:27 CET 2011
> the problem I'm still having is if the article doesn't have a
> short/subheader then the meta description isn't populated.
>
> How can I get register:newsSubheader to populate with bodytext? To get a
> little more fancy, if this is possible, how might I do a crop on the (new)
> register?
Well, haven't tried though, but you may use stdWrap properties:
page.headerData.999.local.description.ifEmpty.field = bodutext
page.headerData.999.local.description.ifEmpty.crop = 100 | ... | 1
> I also need one last piece which I can't seem to figure out where to
> start.
>
> how to take the article author and populate into (what I'm currently
> guessing to be)
Mybe, also use 'field' stdWrap property?
page.headerData.999.local.author.field = author
More information about the TYPO3-english
mailing list