[TYPO3-project-formidable] resolve xml-path

Jerome Schneider typo3dev at ameos.com
Thu Apr 24 16:16:31 CEST 2008


Hi Christian,

could you tell me what's inside $this->conf['template.']['formidable'] ?

Jerome

Christian Tauscher a écrit :
> 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.


-- 


*Jérôme Schneider*
/Developer/
/Formidable - Rapid Application Developpement Framework for Typo3
<http://formidable.typo3.ug>/
/Ameos <http://www.ameos.com>/


More information about the TYPO3-project-formidable mailing list