[Typo3] Pass value via PHP to extension?

Matthias Taugwalder matthias.taugwalder at bluewin.ch
Fri Jul 29 16:53:14 CEST 2005


Thanks for your reply.

> Depending on how many pages you can make conditions based on 
> the UID of the page.
> Then within the condition you can specify the parameter to the plugin.

I probably try to set the parameters as typoscript constants in an extension
template for each page, then they are set in the template as parameters of
the global config array. And then I access this config array in the php
script...

This should do the trick...



Best regards,

Matthias Taugwalder
 
---
Matthias Taugwalder
matthias.taugwalder at bluewin.ch
 

> -----Original Message-----
> From: typo3-english-bounces at lists.netfielders.de 
> [mailto:typo3-english-bounces at lists.netfielders.de] On Behalf 
> Of Ries van Twisk
> Sent: Freitag, 29. Juli 2005 09:49
> To: TYPO3 English
> Subject: Re: [Typo3] Pass value via PHP to extension?
> 
> 
> Depending on how many pages you can make conditions based on 
> the UID of the page.
> Then within the condition you can specify the parameter to the plugin.
> 
> Ries
> 
> 
> 
> >Hi all
> >
> >I have the following issue: I want to pass parameters which are 
> >depending on each specific page to the extension on the page.
> >
> >The problem is that these parameters shouldn't be visible as url or 
> >query string. For that I'd like to set them as Typoscript constants, 
> >which then are inserted as custom php script in the template 
> on each page.
> >
> >My question now is: Would they be visible in the extension 
> script (i.e. 
> >is their scope big enough) or how can this be achieved in 
> another way?
> >
> >Thanks for your inputs in advance.
> >
> >
> >
> >Best regards from Switzerland:
> >
> >Matthias Taugwalder
> > 
> >---
> >Matthias Taugwalder
> >matthias.taugwalder at bluewin.ch
> >
> >_______________________________________________
> >Typo3-english mailing list
> >Typo3-english at lists.netfielders.de
> >http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >  
> >
> 
> 
> --
> R. van Twisk
> http://www.metamorf.net
> 
> Our Typo3 enabled website: http://www.livetravelguides.com
> Instand help for Typo3?    irc:/irc.freenode.net/typo3
> Looking for documentation? http://typo3.org/documentation/
> 
> 
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 




More information about the TYPO3-english mailing list