Customize aiki upgrading

From Aikiframework wiki

Jump to: navigation, search

Contents

Aiki Upgrader

Aiki upgrader is located in assets/apps/upgrader/upgrader.php

If you have developed a web site in aiki, use the upgrader to maintain your site upgraded. You can customize messages, appearance and sql.

Messages

Just copy assets/apps/upgrader/defaults.php to defaultsSite.php and change titles and welcome text.

Appearance

Change variable $UPGRADER_CSS defined in DefaultsSite.php to load you own list of css files. Else, aiki will use /themes/default/installer_upgrader.css. More information can found in defaults.php.

You own tables and SQL

All your table structure will be updated using sql/CreateTableSite.sql. Then, if existes, all sql in UpdateSite.sql will be executed, and finaly all sql in InsertDefaultsSite.sql will be executed.

Personal tools