[TYPO3-english] Get page id and decrease with 1
Radoslav Kolarov
radoslav.kolarov at osceola.de
Sat Apr 11 11:01:59 CEST 2009
Hi,
Dmitry Dulepov wrote:
> Than "temp" is incorrect I think... For example, in you original TS:
>
> temp.value.field = uid
>
> What is the type of "temp"
workOnSubpart = DOCUMENT_BODY
subparts.flashie = HTML
subparts.flashie.value = {field:uid} - 1
The type of the temp is HTML, however I made another solution. I change
type to PHP_SCRIPT_EXT and load one php file where I get the id from the
$_GLOBALS, decrease there and return it to typoscript. Thanks
More information about the TYPO3-english
mailing list