Versions Compared

Key

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



HTML Wrap
alignright
classmenu

 Related topics:

Magnolia is distributed as two web-applications: author and public. Editors work on the author instance, typically in a secure location inaccessible from the Internet. Editors publish content from the author instance to public instances. Public instances serve the content to visitors. In a typical production setup you have at least two public instances, often more.

...

  • In AdminCentral, go Tools > About Magnolia.
  • Check the /server/admin property in configuration. It is true for author and false for public instance.
  • In Java code, use the isAdmin() method provided by the 
    Javadoc
    0info.magnolia.cms.beans.config.ServerConfiguration
    classNameinfo.magnolia.cms.beans.config.ServerConfiguration
    renderTypeasynchronous
     class.
  • In a Freemarker template, use the cmsfn.isAuthorInstance() or cmsfn.isPublicInstance() templating functions.

...