Frage

So let's say I have a content_type RichTextContent which is registered to Page.

Can I render attributes of the Page instance in the template of the RichTextContent content_type?

War es hilfreich?

Lösung

Yes, all content instances have parent attribute, this refers to Page instance.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top