[TYPO3-dev] extra helper files in plugin -> how to access db ?

Henjo Hoeksma hphoeksma at stylence.nl
Wed Jan 28 21:01:44 CET 2009


Hi list,

I have written a custom plugin using the google api.
This plugin uses the method of building an on-the-fly xml file with the 
result of the search for correct addresses.
The pi1 class at some point calls to the external xml file in order to 
retrieve the data.

I couldn't find how to have this extra file (which resides in the 
folder pi1/scripts) load the default dbase variables so it's in there 
'hard'. It's not a class.

I've searched through the different docu but I guess I am looking at 
the wrong places. Requiring init.php and config_default.php generates 
errors, so that is not the way to do it - obviously.

Can anybody advice on how to achieve this?

Thanks in advance.

Henjo
-- 
Stylence | webdevelopment in style
http://www.stylence.nl





More information about the TYPO3-dev mailing list