HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Creating a zone

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#29450 (In Topic #6775)
Avatar

Well-settled

Creating Zone

I ws reading Ocportal docs and I was trying to figure out when your creating a new zone how to make it look like the main zone file as your just installed OcPortal for the one Zone file using all the default pages, blank forums ect.. ?

Thanks
Phil
Back to the top
 
Posted
Rating:
#29485
Avatar

Hi,

I think you may be misunderstanding what zones are. Zones don't have separate content, so the forums would only be "blank" if there were no topics/posts on the website. No content is stored within a zone, except pages.
It is possible to make it appear as if zones have separate content by using a feature called virtual roots. There is a fairly recent topic where I explained this.

Zones aren't separate ocPortal installations, and they don't each have their own copies of pages, unless you actually copy the pages into the zone. The 'default pages' only exist in the zones those pages are default within. If a page is copied/moved to a different zone, it's no longer really a 'default page'.

If you want a zone to share the same panels and start page as another zone, you can do that using 'redirect pages' (transparent redirections).

If you want to have completely different ocPortal installations that share members, it's possible by installation multiple ocPortal's that use the same forum database. The forums will also be shared, but virtual roots can be used to make them appear separated.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#29509
Avatar

Well-settled

Can I do this

Chris Graham said

Hi,

I think you may be misunderstanding what zones are. Zones don't have separate content, so the forums would only be "blank" if there were no topics/posts on the website. No content is stored within a zone, except pages.
It is possible to make it appear as if zones have separate content by using a feature called virtual roots. There is a fairly recent topic where I explained this.

Zones aren't separate ocPortal installations, and they don't each have their own copies of pages, unless you actually copy the pages into the zone. The 'default pages' only exist in the zones those pages are default within. If a page is copied/moved to a different zone, it's no longer really a 'default page'.

If you want a zone to share the same panels and start page as another zone, you can do that using 'redirect pages' (transparent redirections).

If you want to have completely different ocPortal installations that share members, it's possible by installation multiple ocPortal's that use the same forum database. The forums will also be shared, but virtual roots can be used to make them appear separated.

Chris

If I create another zone then how can I copy all the pages from the default zone file that comes with OcPortal in to the new zone?

Thanks
Phil
Back to the top
 
Posted
Rating:
#29515
Avatar

In the structure tab of the Admin Zone there is a 'Redirects' icon. Set up redirects for all the pages, so that newzone:pagename points to site:pagename. Tick the 'transparent' box for them all.
It will then appear as if the pages you redirected exist in both zones.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: