[Typo3] getting typoscript constant values

Meinte van't Kruis meinte at gmail.com
Thu Apr 28 16:24:29 CEST 2005


this was my setup all along:

plugin.tx_extxml_pi1{
	xml={$plugin.ext_xml.xml}

	childnodes={$plugin.ext_xml.childnodes}
}
ill try and clear both caches, but perhaps im missing some point somewhere

On 4/28/05, Guillaume Crico <guillaume.crico at getronics.com> wrote:
> Meinte van't Kruis a écrit :
> > Hi folks,
> >
> > Trying to print predefined constants in my extention... I've defined
> > the constants in
> > ext_typoscript_constants.txt:
> >
> > plugin.tx_extxml_pi1{
> > # cat=xml_reader/enable/0; type=file; label=xml stuff: tralalala
> >        xml=fileadmin/xml/test.xml
> >
> > # cat=xml_reader/enable/1; type=string; label=xml stuff: tralalala
> >        childnodes=firstchild,firstchild.firstchild
> > }
> >
> > Now the Pibase class is trying to print them, but it shows no values:
> >
> >        function main($content,$conf)   {
> >                return var_dump($conf);
> >        }
> >
> > Am I doing something wrong here?
> >
> > Thx
> 
> Import the constants in your conf by the setup (ext_typoscript_setup.txt) :
> 
> plugin.tx_extxml_pi1.xml = {$plugin.tx_extxml_pi1.xml}
> plugin.tx_extxml_pi1.childnodes= {$plugin.tx_extxml_pi1.childnodes}
> 
> ... and clear your caches (both...)
> 
> 
> _______________________________________________
> 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