Page Elements

From OpenPSA Wiki

Jump to: navigation, search

Page Elements are meant to hold the program code required for the web site. In a Midgard MySQL Database, they are stored in the tables pageelement and pageelement_i are based on the MgdSchema midgard_pageelement.

At last! Somoene with real expertise gives us the answer. Thanks!

[edit] Inheritance

Subpages of a given Page inherit the Page Elements of their parents but can overwrite them. This only works if the Page Element's type is set to inheritable. Page Elements and Style Elements can both be included from other Elements using <(elementname)>, but in case a Style Element and a Page Element with the same name are present, the Page Element takes precedence. For information about inheritance, please refer to Templating in Midgard and Templating in MidCOM.

Personal tools