Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
This release un-does, and then re-does, some of the changes made in 7.x-1.0.alpha5.
After releasing 7.x-1.0-alpha5, bryanhirsch and I went back and forth about the implementation of the Field Collections that was used for the Ladder Sections field, added for #1822922: Create new ladder content type to replace curriculum. The interface wasn't intuitive or usable at all, so this release includes a new update to roll back the Field Collection field that had been added in the last release, and reverts the Lesson field to a simple Entity Reference.
If you never installed that release, have no fear: the update will see that the Field Collection field is missing, and simply convert old Curriculum nodes to the new Ladder node type. If you did upgrade to 7.x-1.0-alpha5, then the update will take those existing Ladder nodes and swap out the Field Collection for the Entity Reference for the Lessons field.
In either case, you should run the following drush commands on the site in order to apply the updates. First, drop in the new alpha6 release of the Ladder module, then run the following:
- drush vset install_profile "drupalladder" # Set install profile name
- drush cc all # Clear the caches, just in case
- drush fr ladder lessons_uuid lessons_lists --force --yes # Revert the Features
- drush updb -y # Run update.php
- Not a command: Double check that all of your Curriculum Nodes have been converted to Ladder nodes, by checking the content list in the admin. If you still see Curriculum nodes—or if they're appearing in the content list with nothing in the Type column—stop here and open an issue so I can help you get straightened out.
- drush php-eval "node_type_delete('curriculum');" # Make sure that the old Curriculum node type is deleted
You can run all of these commands whether you used alpha5 or not: they will just ensure that everything is up to snuff.
If you experience any problems at all with this upgrade, please open an issue to let us know, and I'll help out as soon as I can.