2011-10-27, 17:15:31
platinum Wrote:i use Getsimple 3.0
i tried to use this plugin
Maintenance
http://get-simple.info/extend/plugin/maintenance/29/
but doesn't work (if i choose to enable "site maintenance" by check-box in admin panel, when i save new option the check-box comes back again empty)
is there another solution for a "site maintenance"?
After changing last two lines of the script:
Code:
add_action('settings-website-extras','soge_maintenance_create_field',array());
add_action('settings-cpsettings','soge_maintenance_create_xml',array());
to the
Code:
add_action('settings-website-extras','soge_maintenance_create_xml',array());
add_action('settings-website-extras','soge_maintenance_create_field',array());
it works fine
Attention: you need to move them vice versa and make first parameter 'settings-website-extras' for both - thats all.