How to add a demo CMSMS to site

General project discussion. NOT for help questions.
Post Reply
dmaireroa
Forum Members
Forum Members
Posts: 110
Joined: Wed Jul 15, 2009 12:35 am

How to add a demo CMSMS to site

Post 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 :)
jpatti
Forum Members
Forum Members
Posts: 41
Joined: Mon Jun 28, 2010 1:43 am

Re: How to add a demo CMSMS to site

Post 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.
dmaireroa
Forum Members
Forum Members
Posts: 110
Joined: Wed Jul 15, 2009 12:35 am

Re: How to add a demo CMSMS to site

Post by dmaireroa »

Thanks heaps, will this one a try ;)
kendo451

Re: How to add a demo CMSMS to site

Post 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.
Post Reply

Return to “General Discussion”