# File Hits Size
1 Joomla 3 field_cobalt.j3.related_access.v.8.5.zip 1 6 Kb
2 Joomla 3 field_cobalt.j3.related_access.v.8.7.zip 15 6 Kb


This field allows to restrict access to articles based on Emerald Subscription selected in parent article.

For example you have type Course and type Lesson. You create Course and then attach Lessons to it. And you want indicate in the Course, the subscription to restrict access to Lessons.

Create selectable field (select, checkbox, radio, multiselect, listautocomplete) with SQL source in the Course(patent). Insert following query.

SELECT id, name as text FROM #__emerald_plans WHERE published = 1

now in Lesson type(child) create related_access field. You have to select selectable field you created where you select Emerald plan, so this field knows where to look for plans.

Powered by Cobalt