[TYPO3] powermail error message language

Rupali Gupta rupali.ffm at googlemail.com
Sat Sep 20 18:48:46 CEST 2008


this is the tmpl_mandatory.html file in extension manager, how can i use it
to change error mssg:
Powermail HTML Template mandatory, errormessages if fields where not filled
(e.g.)

    --- MARKERS OUTSIDE SUBPARTS ---
    Title for errormessages:
###POWERMAIL_LOCALLANG_MANDATORY_MESSAGE###
    Form name for backlink (formname_mandatory):
###POWERMAIL_NAME###
    Target for backlink:
###POWERMAIL_TARGET###
    Form method for backlink:
###POWERMAIL_METHOD###
    Submitbutton value:
###POWERMAIL_LOCALLANG_MANDATORY_SUBMIT###

    -- MARKERS INSIDE SUBPARTS ---
    Current Errormessage:
###POWERMAIL_MANDATORY_LABEL###

    --- GENERAL MARKERS (INSIDE/OUTSIDE) --
    Displaying any value from pi1/locallang.xml:
###POWERMAIL_LOCALLANG_YOURFIELD### (Could be filled via locallang.xml or
typoscript - see manual for details)
    Displaying any value from typoscript:
###POWERMAIL_TYPOSCRIPT_YOURFIELD### (Could be filled via typoscript - see
manual for details)


<!-- ###POWERMAIL_MANDATORY_ALL### begin -->
    <div class="tx-powermail-pi1_mandatory">
        <strong>###POWERMAIL_LOCALLANG_MANDATORY_MESSAGE###</strong><br />

        <ul class="powermail_mandatory_list">
        <!-- ###CONTENT### --><!-- ###ITEM### -->
            <li
class="powermail_mandatory_listitem"><strong>###POWERMAIL_MANDATORY_LABEL###</strong></li>
        <!-- ###ITEM### --><!-- ###CONTENT### -->
        </ul>

        <form name="###POWERMAIL_NAME###" action="###POWERMAIL_TARGET###"
method="###POWERMAIL_METHOD###">
            <input type="submit"
value="###POWERMAIL_LOCALLANG_MANDATORY_SUBMIT###"
class="tx-powermail-pi1_mandatory_submit">
        </form>
    </div>
<!-- ###POWERMAIL_MANDATORY_ALL### end -->

On Sat, Sep 20, 2008 at 6:35 PM, Rupali Gupta <rupali.ffm at googlemail.com>wrote:

> Hello list
>
> I have made a contact form using powermail extension under htttp://
> serviceforce.duke2007.taunus.de/index.php?id=34. the main language for
> this
> site is german. everything is working well, but i would like to know how to
> change the language of this form to german so that the error message for
> mandatory field come in german. (currently its in english)
>
> i tried following but its not working for error message..
> #powermail
>
> powermailJS = PAGE
> powermailJS {
>    typeNum = 3131
>    10 < plugin.tx_powermail_pi1
>    10.plugin.tx_powermail_pi1{
>    clear.session = {$plugin.powermail.clear.session}
>    validate.uid9.required= 1
>    validate.uid9.errormsg = Dies ist ein Pflichtfeld
>
> }
>    config {
>        #disableAllHeaderCode = 1
>        xhtml_cleaning = 0
>        admPanel = 0
>    }
> }
>
> Thx
> --
> Regards,
> Rupali
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



-- 
Regards,
Rupali


More information about the TYPO3-english mailing list