[TYPO3] How to get current Page ID from TypoScript

Sancar Saran sancar.saran at evodot.com
Mon Sep 15 14:05:10 CEST 2008


On Monday 15 September 2008 13:38:29 Dmitry Dulepov [typo3] wrote:
> Hi!
>
> Sancar Saran wrote:
> > Thanks, it works and my need a bit different
> >
> > evodot.blocks = COA
> > evodot.blocks {
> > 	5 < plugin.tx_evodotinjector_needle
> > 	5 {
> > 		evo_block = page-uid-head
> > 	}
> > }
> >
> > at evo_block = page-uid-head
> >
> > page- -head was static and I need to get that uid.
>
> Well, ask the right questions from the beginning ;)
>
> The answer depends on whether "evo_block" is stdWrap or not. If yes, simply
> use evo_block.data = page:id. If not, you can't do anything.

So, thats mean, I cannot get "Page ID from TypoScript".

evo_block does not related anything from TYPO3. it was trigger when it set, 
calls some kidn of SOA like data structure.

Hmm it seems I have to assign special word to get current page id from php.

Thanks for responding.

Regards

Sancar


More information about the TYPO3-english mailing list