Hello

A little request about sr_email_subscribe (latest version avaliable)

I'm trying to add a field (plain input field) to my subscribe form, using the same procedure adopted for sr_feuser_register, so I've created an extension named "bh_lgalert" that extends tt_address with a new field called tx_bhlgalert_bhpress

In the HTML template I've added:

 <!-- ###SUB_INCLUDED_FIELD_tx_bhlgalert_bhpress### -->
 <dt>
<label for="tx-sremailsubscribe-pi1-tx_bhlgalert_bhpress">###LABEL_TX_BHLGALERT_BHPRESS### ###REQUIRED_TX_BHLGALERT_BHPRESS###</label>
 </dt>
 <dd>
 <!-- ###SUB_ERROR_FIELD_tx_bhlgalert_bhpress### -->
<p class="tx-sremailsubscribe-pi1-error">###EVAL_ERROR_FIELD_TX_BHLGALERT_BHPRESS###</p>
 <!-- ###SUB_ERROR_FIELD_tx_bhlgalert_bhpress### -->
 <!-- ###SUB_REQUIRED_FIELD_tx_bhlgalert_bhpress### -->
<p class="tx-sremailsubscribe-pi1-error">###MISSING_TX_BHLGALERT_BHPRESS###</p>
 <!-- ###SUB_REQUIRED_FIELD_tx_bhlgalert_bhpress### -->

<input id="tx-sremailsubscribe-pi1-tx_bhlgalert_bhpress" type="text" size="40" maxlength="50" title="###TOOLTIP_TX_BHLGALERT_BHPRESS###" name="FE[tt_address][tx_bhlgalert_bhpress]" class="tx-sremailsubscribe-pi1-text" />

 </dd>
 <!-- ###SUB_INCLUDED_FIELD_tx_bhlgalert_bhpress### -->


The problem: the markers for the label and error are not substituted!!

I remember a similar problem encountered with sr_feuser_register, and solved adding a ext_localconf.php file in the extension folder with:


<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['extendingTCA'][] = 'bh_feuserreg_myextname';
?>


So I've wrote a similar file in bh_lgalert

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_email_subscribe']['extendingTCA'][] = 'bh_lgalert';
?>

But..it does not work

Am I missing something

Thank you for the help and regards

--
--------------------------------------------
Riccardo De Contardi - Web Developer
B Human Srl - www.bhuman.it
Via Canzio, 15 - 20131 Milano
TEL +39-02-20.23.271 - FAX +39-02-20.240.561
--------------------------------------------
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to