Results 1 to 5 of 5

Thread: How to create own demo site?

  1. #1
    AlexXF is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    58

    Default How to create own demo site?

    How to create own demo site with sugar?

    Is there a simple solution?

  2. #2
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: How to create own demo site?

    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?

  3. #3
    AlexXF is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    58

    Default Re: How to create own demo site?

    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.

  4. #4
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: How to create own demo site?

    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.

  5. #5
    AlexXF is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    58

    Default Re: How to create own demo site?

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •