Closed (fixed)
Project:
Course
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2014 at 00:51 UTC
Updated:
15 Oct 2014 at 14:49 UTC
Jump to comment: Most recent
Comments
Comment #1
djdevinWhat I would do is
1) A view with a list of courses (node)
2) Add relationship from Node -> Enrollment (do not check "require relationship")
(now this is a list of all nodes, joined to all enrollments)
3) Add a contextual filter on Enrollment UID (the current user)
Now you have a view of courses, joined to the users enrollments.
4) Add the Enrollment ID field
5) Rewrite the enrollment ID field and create a link with views replacements. Empty text would mean that the user is not enrolled. Anything else would mean that they are enrolled. You can use tokens from any field to construct a link.
Comment #2
djdevin