Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In previous versions of Magnolia, you could create a new page right away. The newly created page would use a (configurable) default template. While it seemed like this was a quick way to add a page, you actually always had to change both URI and title, since nobody could live with the defaults. The default template chosen for the new page could have been the one you wanted, but the more templates a setup offered and the more generic a parent page was (e.g. a "section" page vs. a "site map"), the more likely you'd have to also change the template, since the one chosen for you wasn't the one you intended to use. Last but by far not least, there was no way for template authors to require a user to provide values for mandatory fields. This required templates to be constructed in a way that they could always be instantiated as pages, even with somewhat useless default values. And you'd had to know that you then had to go to the page properties to set some of the more sensitive values required for your page to work properly.

New way to add a page

Adding a page is now a two step process. You first select the page template, then provide meaningful initial values for all mandatory fields and possibly change some other fields as well.