[TYPO3-english] How to create an email address dynamically using ts and getIndpEnv:TYPO3_HOST_ONLY

Matthew K - (Swagman Solutions) typo3 at swagmansolutions.com.au
Sun Jul 19 10:12:16 CEST 2009


Hi Walrick,

Thanks for your reply.

I was thinking along the same lines about when your response came in.

Since Peter's ts worked, i'll stop the experiementation on ts 'split' and 
'token' functionality.

thanks again, regards,

Matthew K
Swagman Solutions


Walrick wrote:
> Matt K - [SwagmanInternet] wrote:
>
>> page.10.subparts.EMAIL_ADDRESS.data = getIndpEnv:TYPO3_HOST_ONLY
>> page.10.subparts.EMAIL_ADDRESS.split {
>>     token = .
>>     cObjNum = 1
>>     1.current = 1
>>     1.wrap = info@|
>>  }
>>
>> but its output is:
>>
>> info at wwwinfo@domaininfo at cominfo@au
>
> What about using "www." as token? Maybe that doesn't work as the split
> would only produce one result, but it is easy to try.
>
> Walrick 




More information about the TYPO3-english mailing list