Dashboard > Hippo CMS > ... > 08. Extending Hippo CMS > Customizing the CMS startup function
Customizing the CMS startup function
Added by Arthur Bogaart, last edited by Arthur Bogaart on Feb 08, 2008  (view change)
Labels: 


Hippo CMS version v6.05.03
Audience CMS developers

How to customize the CMS bootstrap function


This page explains how to override the flowscript function that is used to bootstrap the CMS

Goal

In some use-cases a developer might want to use some custom login functionality. In the easiest case this can be achieved by simply overriding the core functionality, but when things get more complicated you might want to completely implement your own bootstrap mechanism.

How to do it

By default, the CMS uses a function called start which is located at hippoCMS/src/site/editor.js. You can change the name of the bootstrap function by overriding the cms.startup.function build property, like cms.startup.function=startCustom. Then, you will need to create a custom editor.js file in the extensions folder (extensions://editor.js) which should contain the new bootstrap function. This file will be automatically loaded by the CMS if it exists.

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.7 Build:#813 Aug 28, 2007) - Bug/feature request - Contact Administrators