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.


Welcome and site zones

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#50097 (In Topic #10917)
Igr
Avatar

Well-settled

Hi,

I have decided to play with different welcome and site zones for guests of my website. I don't want to show right panel for guests, so welcome zone is perfect solution.

After I make first configurations I noticed, that if guest press 'Site' on top menu, he is redirected to site zone (which I want to hide).
If I don't grant site zone for guest, then there is no 'site' on top menu and guest cannot reach site zone. Fine, but…
If guest want to read full news article or see IOTD in full view, he gets error, that he have to login. So I have grant privileges to see site zone again. And again I have situation, that guest by pressing on 'Site' menu or by reading full article he gets to site zone and see all menu on left and right, which are dedicated to members.

Maybe I don't understand something?


ocPortal 4.1.13
PHP 5.2.6-2 unbutu 4.2
MySQL 5.0.67 unbutu 6
Apache 2.2.9 unbutu
Back to the top
 
Posted
Rating:
#50099
Avatar

You understand correctly. You need to make it so iotds and news can run from inside the welcome zone.

Set up redirects (Structure section of Admin Zone) from site:news to :news. Do same for iotds.

You will need to give a "zone" parameter to the blocks to force them to use the welcome zone link rather than the site zone link.


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:
#50120
Igr
Avatar

Well-settled

I don't understand how but it working.

I have added two redirects
Welcome:news -> site:news
Welcome:iotds -> site:iotds

And news and iotds are opened in welcome zone.

ocPortal 4.1.13
PHP 5.2.6-2 unbutu 4.2
MySQL 5.0.67 unbutu 6
Apache 2.2.9 unbutu
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: