[TYPO3-english] typoscript: How to add a userFunc property to the config.baseURL property?

Tomas Mrozek mail at cascaval.com
Tue Nov 30 10:41:48 CET 2010


> typoscript constants are not dynamic (!).

I think that Kay meant that you can probably write an extension that
generates the TypoScript settings...

[globalString = ENV:HTTP_HOST=sub1.mydomain.com]
config.baseURL = http://sub1.mydomain.com/
[...]
[end]

...and includes it as "default" TypoScript settings.


> "small plugin": This is not working:
> config.baseURL = USER_INT

No, baseURL is a string property. You cannot turn it into a content object.

Tomas Mrozek


More information about the TYPO3-english mailing list