Hello,
after another night of testing I figured out that there is a problem with the
actual function call. When I add a constructor containing an echo output to the
class this output is generated. So the constructor is called but the function
isn't.
Again here is the code. Maybe someone cann tell me what's wrong with it:
page.includeLibs.some_other_random_id_string1 = fileadmin/scripts/user_test.php
.....
itemArrayProcFunc = user_test->user_myfunc
And here is the php code from user_test.php:
class user_test{
function user_test() {echo "test";}
function user_myFunc($menuArr, $conf){
echo "gotcha";
}
}
When commenting out the constructor the function isn't called either.
Beats me.
--- On Tue, 6/24/08, Xavier Perseguers <[EMAIL PROTECTED]> wrote:
From: Xavier Perseguers <[EMAIL PROTECTED]>
Subject: Re: [TYPO3] userFunc not called correctly
To: [email protected]
Date: Tuesday, June 24, 2008, 9:46 AM
Hello,
> The sitemap code is inside an extension template and the menu code inside
a base template but that shouldn't make any difference.
Just a guess:
1) are you sure you included your extension's setup?
2) the order of include does not override the menu TS definition?
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english