Managing pages

How to create a page

The different columns of the website workspace In the website workspace pane you will see a page named "help". The page name, in the "Page" column, is used to construct the path or URL to this page. The second column, "Title" can be completely different, and will most likely be used by the template of this page, in it's header section, for instance.

Contextual menu - this is one way to create a new page. Let's now create a new page. You have two ways of creating a new page:

  • Click the "New page" button in the toolbar.
  • Right-click into the workspace pane and select "New page" from the contextual menu. (see image on the left).
Magnolia will create a new page and add it as a new entry in the workspace pane. You will recognize your new page by its default name: untitled.

Although "untitled" is a valid name, the first thing you may want to do is rename your new page. Keep in mind that the name is part of the path, so the name will be visible in the URL. For now we will rename our page "mypage". You can rename by double-clicking on "untitled" and typing the new name.

Next we will add a title to the page. Double-click on the "-" below the "Title" column and type "My first page" as title.

Info

It is recommended to always define a title for each page. The title is not only used for menus, navigation bars and window titles, and a such, you'll usually want something of a little more natural language than what you'll have in your URLs.

Before we take a look at the new page you should select a template. By creating a new page you have only added a new node to the repository. Selecting a template specifies a way to display the content of your new page. Depending on which modules your Magnolia instance has, a template will be selected by default; please have a look at the ones have, and change it to one of your choice. ("Magnolia samples: one column", for example)

Info

Look at a template as some kind of "dynamic HTML". While you probably don't need to know the details of how it works, you should know that it is the template which will be responsible for putting together the content you will create, and assemble it in a way that is understandable by the web browsers of people visiting your website.

Templates are usually created by designers or developers. If you want to change the layout of a page you will need to adapt the template scripts. You can find more information about creating templates in the templating section.

Your new page should look similar to this: (again, depending on the template you selected, the layout will very likely be different) The new page

Copy and Move Web Pages

Magnolia offers the ability to copy and move Web pages. You can do this by dragging and then dropping a page.

To start the copy/move process you must first mark the page you want to move. Then, right-click on the page icon and select "Copy page" or "Move page" from the Context Menu.

The icon of your page will be attached to the cursor, allowing you to move the page with your mouse where ever you would like to place it.

Info

If you move the page icon on top of another page and click the left mouse button, the page (plus all sub pages) will be placed as a child page.

You can also move the page icon between two existing pages. When dragging, you will see a line to where the page will be placed in between. When clicking the left mouse button, the page (plus all sub pages) will be placed between the two pages.

How to delete a page

Deleting a page is very straight forward; mark the page you want to delete, right-click on the page and select Delete page from the Context Menu.

Warning

Be aware that when you delete a page containing child pages, the child pages will be deleted as well! So before deleting a parent page you may want to copy the child pages to another location.

The difference between Delete and Deactivate a page

If you delete a page in AdminCentral, it will first be deactivated from the Publish instance (actually all instances which are subscribed by this Author instance), then it will be deleted from AdminCentral.

Deactivating a page means that it is taken off the Publish instance (actually all instances which are subscribed by this Author instance), but is available in the AdminCentral for further use.

Warning

If you deactivate a page, please be aware that all sub pages will be deactivated as well!