How/Can I override a field type in a different stream?
daviesgeek - 2 years ago
I am trying to change the field type in a different stream namespace. Is this possible and if so, how can I do this?
Use case: I'm trying to use the forum module, but I'd like to change the posts to a WYSIWYG field instead of just a text box. I'd prefer not to have to fork it, but rather just create a migration that'll change it.
ryanthompson - 2 years ago
Check out the video on migrations: http://pyrocms.com/videos/series/module-development/module-migrations
You will wanna use the repository methods.
1.) Delete the field 2.) Create the field 3.) Assign the field (hint, you'll need the stream)