Actions
Feature proposal #9503
openRewrite Asset into Context
Feature proposal #9503:
Rewrite Asset into Context
Description
When redesigned as a Joomla extension rewrite Asset into Context. This should take into account a parent context as well.
From: asset
To: parent | parent_id | context | context_id
From: groupjive.group.1.gallery.photos.1
To: groupjive.group | 1 | gallery.photos | 1
Updated by krileon about 1 month ago
ยท Edited
To match how Joomla stores context this should store as the following.
parent = groupjive.group.5
parent_id = 5
context = gallery.photos.1
context_id = 1
The context id being pulled out is primarily a query assistant in order to query faster. The context itself should always match what Joomla would expect from context. For example the below would be a more real world example.
parent = com_cbgroupjive.group.5
parent_id = 5
context = com_cbgallery.photo.1
context_id = 1
Actions