How to create own demo site with sugar?
Is there a simple solution?
How to create own demo site with sugar?
Is there a simple solution?
I guess you could create a cron job which would restore you database and files every few hours, for example. I can't write such a script myself, though.
Is this something you were after or something else?
No. It's not applicable, because:
If i want to get access to Admin panel in demo mode, then someone can change admin/user password, uninstall/install module-hack...
But, restore db sample by cron - it's a good idea.
In our demo site we have disabled admin access, you can login with username "admin" but you're a regular user.
Our plan is to disable functions from the admin panel that could be used to break the site, but we're not there yet.
I think to change some of administration modules:
+ Create new settings variable in config.php (like a 'demo')
+ Check this variable in Administration modules and block some functions
Thanks for idea!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks