Open jkuchar opened 8 years ago
Hi, thanks for your updates, but it's still not usable with nette 2.4. e.g. getInterfaces() instead of getInterfaces(self::$request) in getHead() or Environment in templates and probably much more. Is there any chance that it will be working again? Thanks
im accepting PR on this. we can make a conf call with @landrisek who is working on this
Can you please give me a note how to setup current MFU from nette-2-4-compatibility branch? Latest commit I was able to setup with nette 2.4 is dev-nette-2-4-compatibility#e53eac88cabddb27ed1d8b3ba942ca353620d49e and I have to use following:
bootstrap.php
error_reporting(~E_USER_DEPRECATED);
\MultipleFileUpload\MultipleFileUpload::register();
\MultipleFileUpload\MultipleFileUpload::setQueuesModel(new \MultipleFileUpload\Model\NetteDatabase\Queues($container->getByType('\Nette\Database\Context')));
and replace "->add(" with "->addHtml(" in MultipleFileUpload.php
To be honest, I do not know as I do not use this code on Nette 2.4, when you figure it out (XDebug is your friend), clould you please post it here?
thanks @akyn84 @lubo