[Typo3] how to debug tt_address insertion (dmail)
Mathias Schreiber [wmdb]
mathias.schreiber at wmdb.de
Tue Jul 26 10:07:23 CEST 2005
Felix Natter wrote:
> hi,
>
> I am having problems with adding gender information to the directmail
> subscription dialog. I tried to post to typo3.projects.direct-mail
> but it looks like I am getting no reply.
>
> Basically the problem ist that I did these things:
> - add a field gender to tt_address (char(1) not null)
> - add a field to the array in class.t3lib_dmailer.php
> - modify the dmail subscription template to include a
> <input type="text" name="FE[tt_address][gender]">-block
>
> But when I enter "m" for gender and submit, the new db record has an empty
> gender (tt_address.gender='').
>
> I tried to set $debugOutput=true in t3lib/class.t3lib_db.php, but I get no error
> output.
> How can I debug this (where is the dmail_subscription code that fills in
> the tt_address record)?
Is the field availabe in TCA?
--
if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) {
$this->fresseHalten = 1;
}
More information about the TYPO3-english
mailing list