Configuring your Page Properties
You can also configure the fields available by configuring the dialog of your page component and applying the appropriate node properties.
For example, by default the Create Page wizard shows the fields grouped under More Titles and Description. To hide these you configure:
-
Create your page component under
/apps
. -
Create an override (using dialog diff provided by the Sling Resource Merger) for the
basic
section of your page component; for example:<your-page-component>/cq:dialog/content/items/tabs/items/basic
NOTE
As reference, see:/libs/wcm/foundation/components/basicpage/v1/basicpage/cq:dialog
However, you must not change anything in the/libs
path.This is because the content of/libs
is overwritten the next time you upgrade your instance (and may well be overwritten when you apply either a hotfix or feature pack).The recommended method for configuration and other changes is:- Recreate the required item (that is, as it exists in
/libs
) under/apps
- Make any changes within
/apps
- Recreate the required item (that is, as it exists in
-
Set the
path
property onbasic
to point to the override of the basic tab (see the next step as well). For example:/apps/demos/components/page/tabs/basic
-
Create an override of the
basic
-moretitles
section at the corresponding path; for example:/apps/demos/components/page/tabs/basic/items/column/items/moretitles
-
Apply the appropriate node property:
- Name:
cq:showOnCreate
- Type:
Boolean
- Value:
false
The More Titles and Description section will no longer be shown in the Create Page wizard.
- Name: