Jump to content

Prestashop 1.5.0.17 - Admin demo creation help


Recommended Posts

Hi,

I have installed the latest version of the Prestashop 1.5.0.17.

 

I would like make an admin panel and a front end panel for my clients to see and explore. I want them to make changes logged in at admin panel and see the results in the front end. Once they log out from admin panel, the admin panel and the front end will then be restored back to what it was previously.

 

In prestashop site as well, a similar stuff is done but it uses seperate DB to access the data items for front end and different for Admin panel. But for admin panel, DB is restored back to what it was before. I can make custom coding to get that done by creating temp DB while logged in as admin and restore to initial db once logged out. But I find Prestashop to be very difficult to understand about its working ( i m a newbie :( ). Also, please guide me to some links (global links) where from I can get some idea regarding both design and development from scratch.

 

Thanx

Link to comment
Share on other sites

Restoring the database would indeed undo most changes. I am not quite sure, but you might also think about restoring the img directory.

 

Things become a bit hairy if your clients start experimenting with new templates and modules. The only sure way to undo that would be copying all files back. But as an alternative you might consider disabling these options in the backoffice - what would require some coding from your side.

Link to comment
Share on other sites

I find the most common way this is done with many sites is a cron job is set up which is set for a specific frequency, like every hour, once a day, etc. When the job goes off, it restores all the site files and database. Usually there is a counter somewhere letting the user know "there is 20 minutes left before site reset" or something like that.

Link to comment
Share on other sites

×
×
  • Create New...