Bleistivt
ModeratorBleistivt Moderator
Reactions
-
Re: Controller inside a plugin suddenly not recognized
Looks like I forgot backporting this, so it is not in 2.2 yet. If you are using windows, could you apply this patch and check if it works? https://github.com/vanilla/vanilla/pull/3222/files (View Post)2 -
Re: Why is there so much markup in php files?
Yes, themehooks have the full power of plugins. The AssetTarget of your module would then be Content (View Post)1 -
Re: Controller inside a plugin suddenly not recognized
Are you testing this on windows? I tried refactoring a plugin to use controllers a while ago but have given up on it, because it was very dodgy on windows. It would save the wrong path to the autoloa… (View Post)3 -
Re: Controller inside a plugin suddenly not recognized
The DIRECTORY_SEPARATOR change should not be necessary. Have you cleared the cache after every change? When I tried this, it would recognize the controller only on the first request (because after th… (View Post)4 -
Re: Need help : ConversationMessageModel->save()
Thanks for pointing that out, I'll update it soon. But it should give you an idea how to use the conversationmodel. Note that notifications will only work correctly as of 2.2 because of this: https:/… (View Post)2