[TYPO3-english] Replace constant inside a string

Henjo Hoeksma | Stylence me at henjohoeksma.nl
Thu Feb 28 16:59:51 CET 2013


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.


More information about the TYPO3-english mailing list