</>JoomCoder
JoomCCK Extended — Documentation

Relation Fields

Relation fields connect records to each other. Parent, Child, Content Dripping and Related Access come with JoomCCK Extended; Related Also and Records are in the free core.

Parent and Child (Extended)

Create one-to-many relations between types, for example Composer > Albums, Movie > Actors or Product > Reviews. Add a Child field to the parent type and a Parent field to the child type.

  • The parent record lists its children, and users can add a new child or attach an existing one
  • The relation works both ways and can be filtered: show all movies of one actor
  • A child may have several parents, which gives many-to-many relations
  • Choose how children are picked: AJAX autocomplete, checkboxes, multiple select or popup
  • Limit users to their own records, choose who sees the Add new button, and use a separate template for children
  • Notify followers when a child is added or attached

Content Dripping (Extended)

Release premium content step by step, for courses and membership sites.

  • Unlimited sets of dripped content in one section
  • Manual release (an administrator moves the user on) or automatic release after a number of days
  • Optionally require a quiz to unlock the next lesson
  • Members see what it takes to unlock each part and when it becomes available

Combine it with a subscription component to sell access to the sets.

Restrict access to child records based on the plan selected in the parent. Example: a Course type with Lesson children.

  1. In the Course type, add a select-type field whose values come from an SQL query listing your subscription plans
  2. In the Lesson type, add a Related Access field and point it at that select field

Lessons are then only open to members of the plan chosen in their course.

Link records to each other by hand. When you relate A to B, B also shows A. Relating part 3 of a series to parts 1 and 2 makes all three show each other, without editing the older parts.

  • Pick related records with autocomplete, AJAX autocomplete, checkboxes, multiple select or popup
  • Use a template override and ordering for the related list

Records

Show related records automatically: other records by the same author, the ones the current user visited, bookmarked or commented, records with the same tags, or records with the same value in a field. Combine it with any ordering (newest, most viewed, most rated, random...) to build "You may also like" or "More BMW X5 cars" blocks.