Problem/Motivation

If you view the Curriculum/Ladder node as an admin, it has the regular View and Edit tabs at the top, as seen here: http://drupalladder.org/curriculum/158c7cc7-1545-e674-e16a-c93af467e4c8%20

If you view that same Ladder in the ladder view, it does not, as seen here: http://drupalladder.org/ladder/158c7cc7-1545-e674-e16a-c93af467e4c8

As noted in #1494972-7: Rename "curriculums" to be "Ladders", I'd like to get rid of the Curriculum node view altogether (or at least, links to it), but that makes it difficult to modify them.

Proposed resolution

Display the Edit tab on the Ladder view.

Remaining tasks

  • Figure out how to add Edit as a local task on the ladder page view

Comments

BrockBoland’s picture

I haven't found a good way to do this, in part because of the way that the code is organized.

The lessons_curriculum module—included in the Lessons project—defines the "curriculum" node type, which is used to organize lessons into ladders. The ladder module actually displays those nodes in a ladder. I can't find a way to add the node/%/edit links, either contextually or as local tabs, to the ladder view.

In order to do so—and this may well be the best solution—I would like to eliminate the lessons_curriculum module by rolling all of its functionality into the ladder module. This would make the Lessons and Ladder modules mutually dependent (right now, you can use Lessons without Ladder).

I need to think this over and get some feedback before committing to anything.

BrockBoland’s picture

Status: Active » Closed (works as designed)

Since Ladder is not the content type (see #1822922: Create new ladder content type to replace curriculum), this is no longer an issue. That new code will be pushed to drupalladder.org soon.

BrockBoland’s picture

Issue summary: View changes

Updated issue summary.