@havok89 havok89 released this Mar 27, 2017 · 7 commits to master since this release

Assets 2
  • Removed extra slash from language in settings page (#22)
  • Added fix for htaccess file (#23)
  • Added a new Maintenance Mode feature *see below for details
  • Added favicon upload to settings page
  • Updated logo alt tag to be the site name
  • Added field for additional JavaScript, such as Google analytics or other tracking code to be added to each page
  • Fixed bug uploading logo

Database has been updated, to add the new fields to yours please use the following SQL:

ALTER TABLE `hoosk_settings` ADD `siteFavicon` TEXT NULL ,
ADD `siteMaintenance` INT NOT NULL DEFAULT '0',
ADD `siteMaintenanceHeading` TEXT NULL ,
ADD `siteMaintenanceMeta` TEXT NULL ,
ADD `siteMaintenanceContent` TEXT NULL ,
ADD `siteAdditionalJS` TEXT NULL ;

Maintenance Mode
You can now turn the site offline to visitors by enabling the maintenance mode in the settings page, you can set the heading, meta and content for the maintenance mode page.

When enabled any users visiting the site will be presented with the message you have added, you can still view the website by logging in to the admin dashboard first.

The main dashboard will display a message letting you know when maintenance mode is on just incase you forget that it is still on.

Try it out on the demo site http://demo.hoosk.org