craft-timediff
craft-timediff copied to clipboard
Craft 3
Hey there, this is one of my favourite plugins to use with Craft! Just wondering, are there any plans to update it for use with Craft 3?
Thanks.
Thanks for the kind words! Yes, will certainly be updating it prior to Craft 3’s general release.
On Apr 22, 2017, at 10:24 AM, Phil Huggan [email protected] wrote:
Hey there, this is one of my favourite plugins to use with Craft! Just wondering, are there any plans to update it for use with Craft 3?
Thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi @mildlygeeky,
the Craft 3 is about to launch, is there any chance of having this awesome plugin updated for it now?
Any updates here? I'm starting to look into the Craft 3 upgrade now that some other plugins I use are (almost) ready, but this one has no more info.
Any updates here? I'm starting to look into the Craft 3 upgrade now that some other plugins I use are (almost) ready, but this one has no more info.
I've ended up creating custom plugin based on logic from this one for Craft3 and importing it to Craft as Dev dependency ( otherwise it needs to be added as Plugin for Craft3 for which I didn't had time to do ).
- hope this would be helpful. I can share the plugin code and implementation on Git, but not before tomorrow.
That would be awesome. It saves me having to do the same, and I'm sure others would find it useful., too. :) Thanks!
Any updates here, @mishellnovosel?
Any updates here, @mishellnovosel?
Hi @bstein-clever, sorry, I was quite busy last few days. Please find the plugin here: https://github.com/mishellnovosel/craft3-timediff
Let me know if you have any issues ( you might want to check https://docs.craftcms.com/v3/extend/plugin-guide.html#loading-your-plugin-into-a-craft-project as well if you get stuck installing plugin on this way).
Awesome! I've installed it successfully, but I'm in the middle of upgrading another custom plugin, so can't properly test it yet. I'll let you know if I run into anything else.
Thanks again.
Testing this again now, I discovered that I couldn't actually use it in my page, the time_diff wasn't recognized. I realized I was missing a step of actually installing it in the control panel (under /admin/settings/plugins), but when I try that, I get an internal server error.
Checking the phperrors.log, I see: PHP Fatal error: Cannot declare class codecacao\time_diff\TimeDiffPlugin, because the name is already in use in <plugin_dir>/timediff/src/TimeDiffPlugin.php on line 0
Any thoughts?
Testing this again now, I discovered that I couldn't actually use it in my page, the time_diff wasn't recognized. I realized I was missing a step of actually installing it in the control panel (under /admin/settings/plugins), but when I try that, I get an internal server error.
Checking the phperrors.log, I see: PHP Fatal error: Cannot declare class codecacao\time_diff\TimeDiffPlugin, because the name is already in use in <plugin_dir>/timediff/src/TimeDiffPlugin.php on line 0
Any thoughts?
I've added the update to the plugin. Can you try it now? If it doesn't work, can you report issue on plugin page git? so we move away from this outdated plugin.
Ha, that would have been the sensible thing, yes. It didn't help. Will move to https://github.com/mishellnovosel/craft3-timediff/issues/1