[TYPO3-english] Replace constant inside a string

Sergio Catalá scatala.enet at gmail.com
Thu Feb 28 18:09:44 CET 2013


Hi Henjo,

thanks for your answer.

Yeah, it was a typo adding the $ to the constant in the constants section.

Anyway, this workaround is not working. Did you add "**" behing the 
replacement of the constant? That sounds strange.

Sergio


On 28/02/13 15:59, Henjo Hoeksma | Stylence wrote:
> Hi Sergio,
>
>
>
> On Thu, Feb 28, 2013 at 4:48 PM, Sergio Catalá <scatala.enet at gmail.com>wrote:
>
>> Hi list,
>>
>> I'm trying to replace a path variable on setup this way:
>>
>> CONSTANTS section
>> ------------------
>> $constant = text-inside
>>
> Shoulde be without the dollar sign:
>
> constant = contant value
>
>> SETUP section
>> --------------
>> path = textaround{$constant}**textaround
>>
>   Then it will work ;-)  --- depending on what you are doing, but since you
> are setting some path, that will do.
>
>> But it's not working. I'm not sure whether this is allowed in TS.
>>
>> Anyone?
>>
>> Thanks in advance,
>> Sergio
>>
>>
>> ______________________________**_________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>>
> Kind regards,
>
> Henjo
>
> Problems are small because we learned how to deal with them.
> Problems are big because we need to learn how to deal with them.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list