Dmitry wrote: > Christopher wrote: >> But I think the file is included, because of the following: >> If I copy the function to localconf.php AND use includeLibs, I get a >> "Cannot >> redeclare..."-error, ("previously declared in localconf.php") in FE. > > This is totally wrong. You must not put such things in localconf.php, this > is against every TYPO3 practice.
In the part of TSRef about conditions and userFunc [1] it tells to put the PHP function in "your localconf.php file" and use it with the condition [userFunc = <function_name>(<value_to_pass>)] Christopher noticed that localconf.php was included (declaring the function for the first time) and after that the file in includeLibs was also included, resulting in the cannot-redeclare error. [1] http://typo3.org/documentation/document-library/references/doc_core_tsref/4.2.0/view/1/4/#id4143813 Regards, -- Jigal van Hemert. _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english