[TYPO3-dam] dam caption as page title
Peter Niederlag
typo3-list at niekom.de
Mon Oct 5 10:48:22 CEST 2009
Hello,
Stephan Bauer schrieb:
> Hello,
[...]
> I have pages with on picture. Is it possible to use the caption of this
> picture as title tag?
Where is the image stored? in pages record or in tt_content element?
EXT:dam_ttcontent provides tx_damttcontent_pi1->render_textpic() that
you can use to do this but it will be quite complex to accomplish.
However the internal addMetaToData() methods of that class might give
you some assitsance on accomplishing your goal with very few lines of PHP.
Greets,
Peter
--
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
More information about the TYPO3-project-dam
mailing list