You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are use cases where it would be very beneficial to be able to make additional calls to pull content once you are rendering the template.
By the default, the data tied to the template is either a list view or a detail view of the item you are targeting. However, what if we want to add a a sidebar on the template that dynamically pulls content items, or maybe a dynamic header / footer nav. Currently, all these other elements would need to be hardcoded, or the developer would have to create their own fork and add in the functionality. It would be great if this was baked in functionality.
The problem is, I'm not 100% sure how to do this, research is needed.
Still WIP - I think the get_content_items functionality should work with the View's developer name instead of viewId, but almost there. Should also support pagination, but almost there. Can be done for v1.0.4.
There are use cases where it would be very beneficial to be able to make additional calls to pull content once you are rendering the template.
By the default, the data tied to the template is either a list view or a detail view of the item you are targeting. However, what if we want to add a a sidebar on the template that dynamically pulls content items, or maybe a dynamic header / footer nav. Currently, all these other elements would need to be hardcoded, or the developer would have to create their own fork and add in the functionality. It would be great if this was baked in functionality.
The problem is, I'm not 100% sure how to do this, research is needed.
I think we need to:
get_content_item_by_id(...)
andget_content_items(...)
raytha/src/Raytha.Web/Services/RenderEngine.cs
Line 39 in 9c3510e
The text was updated successfully, but these errors were encountered: