NYC-Camp/website — pull request #35 by esod (2014-02-23 21:38:43+00:00)
Title: Personalized schedules for authenticated users

This new feature creates a My Schedule tab on a user's profile page which contains the sessions the user has added to her schedule. Enable the feature module Personal Schedule (personal_schedule) and be certain it is in Default. You may need to clear cache since this is a menu tab although since this module is being enabled for the first time that probably won't be necessary.

Then click Add to your Schedule on published Session page after which you may view this session and all your sessions in the My Schedule tab on your user profile page.

Example:
as user/1 go to:

http://schedules-nyccamp2014.gotpantheon.com/session/session-three and click Add to your schedule.

Now go to:

http://schedules-nyccamp2014.gotpantheon.com/user/1/schedule

and you will see the session in your schedule!

You may remove the session from your schedule in the My Schedule tab by clicking Remove from your schedule. A refresh of the page makes the session go away for good. This is standard Flags module behavior. Oh I wish I could write that kind Ajax ;)

Further, schedules are not publicly shared. For example, still as user/1 go to

http://schedules-nyccamp2014.gotpantheon.com/user/1098/schedule

and you will get Page not found and a custom warning stating "You may view your schedule only. Schedules are not publicly shared."

I enjoy this user experience in all the Con sites (DrupalCon Prague and London for example) and I want to add it to our NYCCamp site.