[TYPO3-dev] th_mailformplus problems
Ronald Renfro
rlr55555 at googlemail.com
Tue Jan 20 13:48:50 CET 2009
Hi,
I have read the th_mailform manual multiple times and am still having
difficulties getting the th_mailformplus (v. 4.0.12) to work correctly:
1) when I use "plugin.tx_thmailformplus_pi1" in my typoscript template
the "html form template file" I specified in plugin flexform the
backend via the is not found.
When I change the TS to the key plugin.tx_thmailformplus_pi2 the
template from the flexform is found but many of the parameters for
example langFile are not showing up in the conf array. The manual
states to use "plugin.tx_thmailformplus_pi1" Which version is correct
pi1 or pi2 and which class is being executed by typo3...
2) The language markers are not being replaced correctly even though I
have specified a langFile and the html template contains markers. The
debug output says it has found language markers but they are not being
replaced.
What am I doing wrong?
TYPOSCRIPT:
plugin.tx_thmailformplus_pi1 {
# toggle debugging ouput
debug = 1
# path to language file
langFile = {$template.path}/extensions/th_mailformplus/anfrage_lang.php
}
example of the template markup I am using for the fields:
<!-- Name Vorname -->
<tr>
<td align=right bgcolor="#015293" height="25"
width="173">###LLL:Name###:*</td>
<td bgcolor="#015293" height="25" width="159"><input type="text"
id="Name" name="Name" value="###value_Name###" size="20" ></td>
<td bgcolor="#015293" height="25" width="123">###LLL:Vorname###:</td>
<td bgcolor="#015293" height="25" width="158"><input type="text"
id="Vorname" name="Vorname" value="###value_Vorname###" size="20" ></td>
</tr>
snip...
example code from my anfrage_lang.php file:
$LOCAL_LANG = Array (
'default' => Array (
"required" => "(die mit * gekennzeichneten Felder sind
Pflichtfelder)",
"Firma" => "Firma",
"Strasse" => "Strasse",
"PLZ" => "Postleitzahl",
"Name" => "Name",
...
)
More information about the TYPO3-dev
mailing list