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
{{ message }}
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.
Modify content module so that it checks to see if the list or show over-ride is enabled for the given content type, and if so, use the template in the content type instead.
This may require re-factoring of the list.html to separate the iterator from the template - as the iterator will probably stay the same, but the template may differ (e.g. a list of content of different types needs to be dealt with).
The text was updated successfully, but these errors were encountered:
To enable content types to be really useful, we need to enable the over-ride of the default templates by type.
Default templates are:
TODO:
Add new fields to content type;
listOverride : boolean
listTemplate : string
showOverride: boolean
showTemplate : string
Modify content module so that it checks to see if the list or show over-ride is enabled for the given content type, and if so, use the template in the content type instead.
This may require re-factoring of the list.html to separate the iterator from the template - as the iterator will probably stay the same, but the template may differ (e.g. a list of content of different types needs to be dealt with).
The text was updated successfully, but these errors were encountered: