[TYPO3] email as gif builder img in tt_address output
Raymond Irwin
raymond.irwin at freenet.de
Wed Mar 26 18:00:29 CET 2008
Figured it out myself. The Trick is, you need to use a cObject. So for
anyone interested here's the TS:
plugin.tx_ttaddress_pi1 = USER
plugin.tx_ttaddress_pi1 {
userFunc = tx_ttaddress_pi1->main
templatePath = fileadmin/templates/tt_address/
defaultTemplateFileName = default_hcard.htm
pidList = 0
recursive = 0
sortByColumn = name
sortOrder = ASC
templates.default {
### substitute with email field begin ###
email {
cObject = IMAGE
cObject {
file = GIFBUILDER
file {
XY = [10.w],[10.h]
10 = TEXT
10.text.field = email
10.offset = 1,10
}
}
}
### substitute end ###
}
Cheers, Raymond
More information about the TYPO3-english
mailing list