Julius

Hello SS, quick question please. Is there a Google Recaptcha V3 for elemental userform?

wmk

have you searched packagist? You can filter for silverstripe-module or silverstripe-vendor-modules: https://packagist.org/?query=%20Recaptcha&type=silverstripe-vendormodule

Show 1 attachment(s)
packagist.org  
Packagist

The PHP Package Repository

Hide attachment content
wmk

Dunno how userforms implements it; I could bet via the SpamProtection module. So maybe you're looking for RecaptchaV3 for Spamprotector

wmk

If it doesn't fit for UserForms, you might create a UserFormField from the provided FormField ... and maybe PR your improvements?

Slackbot

Hi there! Thank you for asking how to make a pasty! I'm Rainbow Unicorn Dash, here to help! To share code, you are best off making a GitHub Gist, login to GitHub with your account and go to https://gist.github.com/ to start. Otherwise you can create a snippet by clicking the big + next to where you've been typing!

Ankita Shrivastava

I have added the content blocks but these are not visible in preview page working on SS4 with Simple theme. Can someone help me figure this out?

Briar Woodhead

Anyone successfully used https://github.com/dynamic/silverstripe-blocks-to-elemental-migrator recently? I have a site I'm upgrading to SS4 with thousands of blocks 😕

Show 1 attachment(s)
dynamic/silverstripe-blocks-to-elemental-migrator

Migrates SilverStripe Blocks to SilverStripe Elemental.

Hide attachment content
👋 (1)
wmk

That's for which kind of SS3 block module? Maybe @muskie9 can help you...

👍 (1)
muskie9

wow, that one we haven't touched in a while and turned out to be more of a proof of concept, but I believe the expectation was the blocks would be upgraded to SS4, then this would help with converting them to elements (shea's blocks module to elemental)

a couple fundamental differences makes this a bit harder than we anticipated: • blocks were sharable, elements are not (except for utilizing virtual block, which has it's own oddities) • if you used block sets, those are another level of difficult lol

Briar Woodhead

Thanks! Yup the sheadawson blocks module.. Luckily in this site the blocks don't appear to have been shared across pages much and blocks sets haven't been utilised.

The migration module doesn't seem to publish the elements correctly, or take into account the Sort order - but it's a good starting point! :)

muskie9

ya, I can't remember where we got it to, if you want to put some PR's in I'm happy to merge them... or use it as a starting point like you mentioned

Briar Woodhead

Thanks, I'll see how I go. 🙂 I'm surprised more people aren't needing to attempt this in upgrading, with the sheadawson module no longer supported.

muskie9

ya, we hit a few sites in quick succession, but a number of our clients we did full rebuild projects, which helped preventing the need to migrate them

Briar Woodhead

Nice. Yeah unfortunately the sheer volume of data with this site has dictated an 'upgrade' rather than a rebuild 😣

muskie9

yikes! well if you have any questions on the module just give a shout and I'll try to answer what I can lol


Show less replies
muskie9

👍 didn't even realize there was a controller for elements until now