[TYPO3-project-formidable] resolve xml-path

Christian Tauscher cms at media-distillery.de
Thu Apr 24 15:17:17 CEST 2008


Hi dear develoers!

I'd like to change the xml-file dynamically, and store them in fileadmin.

Trying this:

$formFile = $this->conf['template.']['formidable'];
$this->oForm->init($this, $formFile);		

leads to an Error:

FORMIDABLE CORE - The given XML file path 
(/srv/www/htdocs/fileadmin/templates/templates_ext/foto/anmelden.xml) 
does not exist

Of course this file doeas not exist! Formidable seems not to resolve the 
path fully.

This should be:

/srv/www/htdocs/dk/project1/fileadmin...
                 ^^^^^^^^^^^^!

Since I do not expect to know the whole abolute path by the user: How to 
resolve the given relative path correctly?

Thanks for your help,

Christian.


More information about the TYPO3-project-formidable mailing list