[Typo3-dev] $BACK_PATH in wizards

Martin T. Kutschker Martin.no5pam.Kutschker at blackbox.n0spam.net
Tue Aug 10 09:05:33 CEST 2004


Robert Lemke wrote:
> Hi Martin,
> 
> On Tue, 2004-08-10 at 01:11, Martin T. Kutschker wrote:
> 
>>I'm trying to write a popup wizard. I need init.php which needs 
>>$BACK_PATH. How do I set it for wizards. I know the ext.mng. clutch form 
>>modules, but is there one for wizards too?
> 
> A wizard class usually has a main function which gets a reference to the parent object 
> which is TCEforms.

Not if it's of type "popup" (as mentioned). Now it's a stand-alone 
script :-(

But perhaps we could add a wizard_popup.php to typo3/. It has three 
parameters:

ext - extension key
file - class file
class - class

It'll call init(), main() and output() of the class in that order.

Masi





More information about the TYPO3-dev mailing list