Dashboard > Community Wiki > ... > Developing with Magnolia > Dialogs overview
Dialogs overview Log In View a printable version of the current page.

Added by GrĂ©gory Joseph , last edited by Boris Kraft on Jun 23, 2008  (view change)
Labels: 

Dialogs (in progress)

About Dialogs

Dialogs are the "Model" of Magnolia's MVC framework. Site administrators and content editors use dialogs to input and edit data. Once identified by a paragraph, this data can be rendered to a template page.

View a Dialog

To see how users interact with Dialogs, right-click on a sample page in the Website area of AdminCentral and select "Open page". Click on the "Properties" button in the top right corner. The dialog window that you will see is, in fact, the Dialog.

Create a new Dialog

Getting Started

Create a new folder under modules > templating > dialogs in AdminCentral. Rename the folder quickstart.

(Create a new content node in quickstart called tabText. In tabText, create two new node data called controlType and label. You should have these two node data in every one of your dialog content nodes. Set controlType to tab, and label to whatever you like.

Create New Content Nodes

Also under tabText, created another new content node called text. Here you define the user interface for entering text data. In text, create data nodes controlType=edit, label=whatever, name=text, type=String.)

(describe how to add a content node)

Related info

Powered by a free Atlassian Confluence Open Source Project License granted to Magnolia International. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators