[TYPO3-english] Use return value from user function in typoscript to set value in TSFE
michael müller
fruitgnome at gmx.de
Tue Dec 13 10:50:25 CET 2016
Is it possible to use the return value of a user function in typoscript to set value in TSFE?
Example:
Typoscript:
temp.10 = USER_INT
temp.10.includeLibs = test.php
temp.10.userFunc = myclass->myfunction
PHP:
<?php
class myclass {
function myfunction() {
return 3;
}
}
To rendering:
page.10 < temp.10
But how it works for something like: config.sys_language_uid < temp.10; now the value is USER_INT and not 3.
THX
More information about the TYPO3-english
mailing list