[Typo3] Get Page-ID with SimulateStaticDocuments

Mathias Schreiber [wmdb] mathias.schreiber at wmdb.de
Wed Aug 17 14:40:31 CEST 2005


Sven Osterwalder wrote:
> Hello list,
> is it somehow possible to get the page-ID from the current page?
> Normally I could use something like globalVar = TSFE:id = 31 but with
> simulateStaticDocuments it won't work.
> Does anybody knows a solution for this?

But it should.
Typoscript or PHP?
TS I suppose

-- 
if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) {
	$this->fresseHalten = 1;
}



More information about the TYPO3-english mailing list