Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1690

General Questions/New to Joomla! 5.x • Re: Automatic restore admin page configuration

$
0
0
You wouldn't use any extension to actually reset the site, since the process requires you to wipe out the database.

You need to write a PHP script and CRON job to:
  • Drop (delete) the database, or purge (empty) the database tables of all data; (this may not mean all tables, it could just be those associated with a particular extension but depends on your specific intention); and
  • Recreate the database or its tables and re-populate the Demo site's default data.
  • Schedule the CRON for whatever schedule you want it to be e.g. daily - every 24 hours.
  • You need some sort of visual indicator of the reset within your site e.g. a countdown timer module (that's the easy part), such as https://extensions.joomla.org/extension/count-down/.

Statistics: Posted by AMurray — Sat Oct 12, 2024 10:23 pm



Viewing all articles
Browse latest Browse all 1690

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>