Page 1 of 1
How to add a demo CMSMS to site
Posted: Mon May 09, 2011 2:34 pm
by dmaireroa
Hi there
Is there a way to add CMSMS to website as a demo/test login separate from the main login where the user can test drive CMSMS e.g.
http://site.com/demo
Many thanks in advance
CHEERS

Re: How to add a demo CMSMS to site
Posted: Mon May 09, 2011 4:27 pm
by jpatti
Yes, install it in the demo directory.
If you have a live version of CMSMS running in the root, then install your new version with either a different database or a different table prefix. That should keep the two versions separate.
IMO, it's better to use a cms/ subdirectory instead of demo/ as then you don't have to change it when you're ready to go live. You can either write a php redirect in an index.php in the web root or if customer needs/wants a splash page, put that in the webroot. In either case, have it redirect to
http://domain.com/cms (I wouldn't like the word "demo" in the URL forever).
Also, if it is in development, you might want to add a robots.txt to keep it from getting indexed.
Re: How to add a demo CMSMS to site
Posted: Tue May 10, 2011 2:08 pm
by dmaireroa
Thanks heaps, will this one a try

Re: How to add a demo CMSMS to site
Posted: Tue May 10, 2011 3:45 pm
by kendo451
I use the control panel to create a subdomain for demo sites.
When you want to move it, just do this:
1. re-install CMSMS on the main site
2. import the database from the old site.
3. delete the config.php file
4. Run the install script, but do NOT install tables or content on the last step.
This will recreate the config.php correctly and preserve your content.
If you have installed lots of modules, especially if they use CGExtensions, it is important to copy the modules directory from the old site to the new one before you try to do step 4.