[TYPO3] How to get table field in typoscript?
Gary Wong
gary.wong at spingroup.com
Tue Sep 18 23:06:44 CEST 2007
I've been hacking at typoscript for a while, but still so much to
learn. Can someone shed a light on how to do this:
I have a custom table (tx_mytable) with an email field in it.
I have a mailformplus plugin on a page and an extended template on it to
configure the mailformplus plugin.
I want to assign the default email admin recipient to an email from a
record in my custom table based on a GET variable representing the UID
of the custom record passed into that page.
This, of course, won't work.
-----------------------
temp.getemail=TEXT
temp.getemail {
table=tx_mytable
select.where= {global:HTTP_GET_VARS|uid}
field=email
}
plugin.tx_thmailformplus_pi1.default.email_to < temp.getemail
-----------------------
But it's logistically what I'd like to do. Anyone?
Thank you in advance,
Gary
More information about the TYPO3-english
mailing list