I want to test a new template & CSS for a site redesign.
Is there any "easy" way to do this?
I'm not familiar with Contexts. Theoretically I'd like to duplicate the main context, then experiment with it ... but how can I access it without having to mess around with subdomains, htaccess, etc.?
Is there any way to "go" to a 2nd context via simple URL?
E.g., say our "live" site is at "www.foo.com" ... I want to duplicate that context, call it "testing", then be able to navigate to the root of the 2nd context with "www.foo.com/testing".
So the duplicate of "foo.com/container/page" would be at "foo.com/testing/container/page" in the 2nd context.
Possible?
Thanks, but ... I'm not getting it. Can I put "foo.com/testing" in the value for http_host?
And then all containers with sub-resources will all link correctly via FURL aliases?
... or can I just make up a subdomain ("testing.foo.com") without actually setting it up at our DNS?
Well, I did it ... but had to add a subdomain at our hosting.
Thanks!
Now, after testing, how would I go about making the new context the 'main' context?
-
☆ A M B ☆
- 24,524 Posts
If all you are doing is changing the template, why a context at all? Use a branch in the Tree to have a sampling of duplicates of your resources, probably the home page, a gallery page, a page with a form, and the like, then when you're done either edit your existing templates or use Batcher to switch your resources to using the new template. Change the default_template setting as well.
Yeah this seems totally unnecessary and a lot of trouble for nothing. Just make a new template and upload the css to the right place, make sure the template is directed to the css and that the template has the [[*content]] snippet, copy whatever contents you want into a new resource, save, change the template of that resource to the new template and save again, then check it. You can leave it unpublished and no one can see it unless they are logged in.