[TYPO3] how can I access a variable set in insert plugin cobject?

Andrew Davis andrew at avagraphique.com
Wed Sep 12 14:40:26 CEST 2007


Hi all,

after searching thru $TSFE (holy smokes, Its huge) i found how i can 
reference a variable set via template setup, like this

	$pidList = 
$TSFE->tmpl->setup['plugin.']['tx_rlmpsecuredownloads_pi1.']['pidList'];

but that requires placing a template on the page with that information 
set. I still have not found how to reference the information as set in 
the INSERT PLUGIN cobject form on the page.

does this not automatically populate an object/array someplace? How can 
I reference it?

any help much appreciated, thanks!
Andrew


Andrew Davis wrote:
> hi i have what im suer is a dumb question, but having problem finding 
> answer
> 
> I have a variable that indicates pid (startingpoint) for a plugin on a 
> page, set thru the typo3 backend (insert plugin on a page, then set 
> config there). How can i access that value within the plugin (php), to 
> use with a query ?
> 
> thanks for your help
> andrew


More information about the TYPO3-english mailing list