Problem/Motivation

Landing on a lesson page you cannot tell which ladder a particular lesson belongs to, and which are the next and previous steps?

Example: http://drupalladder.org/lesson/92ff4ea1-7c1f-8154-198f-7e97d990fc29

Proposed resolution

Add some kind of navigation - previous/next and the top level link to the ladder which this lesson is a part of.

Remaining tasks

Get feedback if this is a good idea.
Add the links with magic theming.

User interface changes

Navigation on each lesson.

CommentFileSizeAuthor
ladder-example-lesson.png41.13 KBheather

Comments

BrockBoland’s picture

BrockBoland’s picture

Project: Drupal Ladder » Lesson Ladder
Version: 7.x-1.x-dev » 7.x-1.0-alpha3
Component: DrupalLadder.org Content » User interface

For the big question mark in the middle: I would love to show the name of the ladder to which the lesson belongs, to make it clear where they are. As noted in that other issue (see previous comment), one lesson referred to something "you created earlier" but without this context, it wasn't clear when that was supposed to be.

Let me raise another concern, though: lessons can be included in more than one ladder. When viewing a lesson that appears in more than one, how should we determine what to display at the top?

Maybe we could include the ladder ID in the path, like so:
lesson/b93deb54-264f-19a4-49eb-db74bc6c2712/ladder/ee503327-50be-1904-8d04-9499098cad64

That is:
lesson/{lesson-uuid}/ladder/{ladder-uuid}

That might be overkill though.

heather’s picture

Ah, I hadn't realized that.

My confusion came from the initial "Lessons" page. There was no indication which ladder(s) a particular lesson.

Starting from Drupal Ladder list:
http://drupalladder.org/lessons?project_name=&lesson_type=All&project_ty...

Lesson Title Project name Lesson type Project type Drupal version(s) Recommendations Draft Status

Maybe one of the columns could be "Ladder" - to indicate which ladders reference that lesson?

That would clear things up for me.

BrockBoland’s picture

Now that we've finalized #1822922: Create new ladder content type to replace curriculum, it makes sense to start working on this.

I added functions to find the previous and next lessons in commit d233fe2. These aren't used anywhere yet, so I need to add a theme function or something to take advantage of them.