Hi all, does someone happen to know if https://github.com/unclecheese/silverstripe-dropzone has support for SS4? I couldn't find it on the plugin page (and the latest tag is SS3)
pretty sure he dropped support for SS4. No pun intended
I don't think he dropped it, it's just not at stable for v4, I believe.
dev-master has a requirement of v4 https://packagist.org/packages/unclecheese/dropzone#dev-master
A dropzone type alternative for ss v4 is this which works relatively well. https://packagist.org/packages/jamesbolitho/silverstripe-frontenduploadfield
Frontend UploadField for SilverStripe 4 with Dropzone.jsHide attachment content
Though in saying that, it's on branch dev-master i.e. same as dropzone. https://github.com/jamesbolitho/silverstripe-frontenduploadfield
Is it possible to make a global template variable?
eg something that can be accessed from everywhere without needing to use something like $Top.MyVar
@ShaneW you can do it via TemplateGlobalProvider, see how SiteConfig works: https://github.com/silverstripe/silverstripe-siteconfig/blob/4/code/SiteConfig.php#L483-L491
Site wide settings administration. Contribute to silverstripe/silverstripe-siteconfig development by creating an account on GitHub.
Site wide settings administration. Contribute to silverstripe/silverstripe-siteconfig development by creating an account on GitHub.Hide attachment content
be sure to implement
TemplateGlobalProvider on your class