#2249 - Further metadata improvements
0 guests and 0 members have recently viewed this.
The top 3 point earners from 8th Feb 2026 to 15th Feb 2026.
| Gabri |
|
|
|---|---|---|
| Master Rat |
|
|
| PDStig |
|
|
There are no events at this time
render_box($row)
render_tile($row)
get_hyperlink_details($row)
get_thumbnail_details($row) // Used for grid, mosaic, slider, carousel
render_columned_table($rows)
Once we have main_multi_content being able to render out different content interfaces, we can then look to see if a lot of the current catalogue and gallery code can be removed and main_multi_content used instead.
There may be other parts of Composr that can be vastly simplified to use the new hook functionality, e.g. the newsletter what's new hooks.
Also generally we should review what is using the CMA hooks and see if their use can be better abstracted to functionality from the CMA hook base class or functions in content.php. I don't like that lots of different parts of Composr right now are likely accessing CMA metadata manually and doing weird stuff - it should be more centralised.
Anything that relies on getting images or titles via metadata in CMA hooks should ideally be able to do so even if it requires querying the content row first (e.g. for catalogues). I think right now there are some cases where titles and images just won't be supported for particular content types.