-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I migrate helpers/Modifiers.php #69
Comments
Yeah nothing has been done on that front yet (closing this as it's a duplicate of #26). Anyway, check out https://statamic.dev/extending/modifiers#creating-a-modifier. A little bit has changed, but not much. |
Thanks, I can confirm that all works. Used the command to create a new file in app/Modifiers and was able to paste the existing modifier function across, changing its previously unique name to the index() function of what is now unique files. Cheers! |
As mentioned in statamic/migrator#69
As mentioned in statamic/migrator#69
@joevallender glad to hear! |
As mentioned in statamic/migrator#69
I've just installed a fresh Statamic v3 and migrated my v2 site into it.
The script ran without any errors but when I visit the site I get
Statamic\Modifiers\ModifierNotFoundException
I noticed with a grep that no automatic action had been taken on the file at
site/helpers/Modifiers.php
It's no big deal to copy/change/reimplement myself, but in the documentation at https://statamic.dev/modifiers the 'build your own' link doesn't go anywhere. And nothing is noted in https://statamic.dev/upgrade-guide
How are Modifiers handled in v3? Thanks!
The text was updated successfully, but these errors were encountered: