Question

How is it possible to disable the ContentFinder view when opening a page in CQ5?

Answer, Resolution

In a CQ5 WCM authoring environment, when you open a page via double-click, by default the ContentFinder is loaded and the actual content page displayed in a frame. While this is desirable in most cases, there are pages whose functionality does not require the presence of the ContentFinder, e.g. tool templates that don’t allow content creation, like adding new paragraphs.

In order to prevent a page opening in the ContentFinder view, simply add a String property named cq:defaultView and set its value to html. This needs to be done either on

  • a page component's definition node (e.g. /apps/myapp/components/contentpage)
  • or an existing page /content/geometrixx/jcr:content

Applies to

CQ5.x

Esta obra está licenciada sob uma licença não adaptada da Creative Commons Attribution-Noncommercial-Share Alike 3.0  As publicações do Twitter™ e do Facebook não são cobertas pelos termos do Creative Commons.

Avisos legais   |   Política de privacidade online