Project

General

Profile

Actions

Feature proposal #9503

open

Rewrite Asset into Context

Feature proposal #9503: Rewrite Asset into Context

Added by krileon over 1 year ago. Updated about 1 month ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
17 October 2024
Due date:
% Done:

0%

Estimated time:

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 Actions #1

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

Also available in: PDF Atom