[TYPO3-english] language version of template
bernd wilke
t3ng at bernd-wilke.net
Fri Jun 26 09:20:36 CEST 2015
Am 25.06.15 um 13:19 schrieb Plamen Petkov:
> Hi list,
>
> I use the extension direct_mail_subscription. Everything works fine, but
> problem is with language version of the template.
>
> There is a constant, where you can define the template
>
> plugin.feadmin.dmailsubscription.file.templateFile = .../template.html
>
> Problem is that text is put there directly
>
> i.e.
>
> <form name="tt_address_form" method="post" action="###FORM_URL###">
>
> ###GW1B###Subscribe to our newletter ###GW1E###
>
>
>
> I want to change "Subscribe to our newletter" to "Anmeldung für unsere
> Newsletter"
>
> I have created German version of the template, but it is not possible a
> language condition in TS Constant Field
then have a look at your condition.
I use conditions in the constants part and it works.
another solution might be:
the constants gets used somewhere in the setup.
you still can change the text there by building a condition after that
usage.
for both possibilities have the order of TS templates in mind. This
order can be inspectes with the template-analyzer. there you also can
expand the full TS and look for usages of constants
bernd
--
http://www.pi-phi.de/cheatsheet.html
More information about the TYPO3-english
mailing list