[Typo3-dev] $BACK_PATH in wizards
Robert Lemke
rl at robertlemke.de
Tue Aug 10 10:56:32 CEST 2004
On Tue, 2004-08-10 at 09:05, Martin T. Kutschker wrote:
> > 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 :-(
Sorry, now I understand. This is what I usually do:
// Initialize browser
define('TYPO3_MOD_PATH', '../typo3conf/ext/mywizard/');
$BACK_PATH='../../../typo3/';
require ($BACK_PATH.'init.php');
require ($BACK_PATH.'template.php');
...
--
robert
"They placed me on this earth without a manual.
And I dare to say, I’m doing just fine without ;)"
More information about the TYPO3-dev
mailing list