A very useful article suggesting a method by which custom properties can be applied to a page:
Extending Django CMS Page Model
It just goes to show how easy it is to extend Django CMS :)
Please note, as advised in the follow-up article, the custom properties are not automatically available in the menu, since menu items are instances of NavigationNode not Page. The follow-up article suggests a solution for this, but there is a proviso - it is quite inefficient from an SQL perspective, although this could be mitigated somewhat through diligent caching.
No comments:
Post a Comment