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.


Zones and Permissions

Login / Search

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

Community saint

Let me start off by saying that I have created many sites with many different portals but this one is confusing me and I am beginning to feel real stupid.

What I am trying to do is when someone goes to www.mysite.com they see a welcome page. I don't want the login or join options on the left panel just a menu to static pages that I will create. At the top I just want one link and that is one that says Login. That link will then take you to the www.mysite.com/index.php?page=login page. Once logged in the rest of the site would function normally.

Basically I want to have the front end have some presentations for the public and in the logged in member area will be training for those presentations.

I hope that I have not confused anyone to much. Any help will be greatly appreciated. I will keep trying from my end but I think I will need some advice. Thanks!
 

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37590
Avatar

Hi Rick,

I think the best way I can help you is by starting with some specifics. I have an idea of what you're trying to do, but at this point my answers would be a bit vague. If you could attach some sketches of what you're looking for I could work from that and try and step through what would need setting up for it. Visio, images, Wordart- whatever suits you.

As you've said you've had experience with other software, we'd be very grateful if you could take a few minutes to write down some of the specifics about where other software does a better job, or just generally if you have any ideas about improvements we could make. Anything that could help us improve our product would be well received.


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:
#37591
Avatar

Community saint

Chris,

Thanks for your quick reply. As to the sketches I will send something off to you soon. As to the software, from what I have read and seen I think your software is awesome, the problem I am having is just the steep learning curve. All software is different and all have a learning curve, due to the flexibility of your software the learning curve is a little steeper. I am not sure that I can make any good suggestions until I get my arms wrapped around this but after I learn it a little better I will try to contribute my thoughts. Once I get the site functioning the way that I need it to I will also subscribe/register. Thanks for your support.

 

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37593
Avatar

Community saint

Chris,

What I want is when you go to www.mysite.com before you login to have the site come up something like below. I will create the Slide Show pages and create the menu items. I would like it to not have the left panel and just have the menu items in the top bar as displayed. If that is not possible or real difficult then I can live with the menu side panel is displayed without the login block.






I don't really want to see the login block on the front page, I would prefer to have the Login Menu item link to the page as displayed below.






Again any help with this would be greatly appreciated.

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37602
Avatar

Hi,

I'm still not completely clear, so I will pose some questions…

1) Do you want the left panel gone on all pages, or just the front page?

2) Do you want two front pages, one for the welcome zone and one for the site zone, or just one front page? You might want the welcome zone one to be like a splash/you-will-need-to-login page, whilst the site zone one to be one for logged in members. It's up to you, but I need to know.

3) You've got 4 links in the top menu. Are you saying you want to only see 'Login' there, until the user logs in, then it goes to all 4?


I can say a few things based on what I know so far.

Usually you would remove a panel by clicking 'Edit page' underneath it, then wiping out it's contents. However you'll need to register to do that, otherwise the ocPortal logo is always going to show there.

The menu at the top is called the 'Zone menu', and isn't normally editable in the same way as the one on the left. Perhaps this is one of the things that has confused you most. To turn it into an editable menu, you'll need to open up OcCLe (when you're logged in as admin you'll see a little '>ls' icon at the bottom of the site), and type the following into it:

Code

:set_value('use_zone_menu','1');
This is a semi-official workaround to this known problem, and something we'll have improved by v4.

Adding a login link to a menu is trivial using the menu editor. You'll be able to just browse for the link (or type it in, it's :login). What is less trivial is making it disappear when the user is logged in. To do this, make sure the menu item is set to 'Only display link if there is permission', and then you need to use the Permission Tree Editor in the Admin zone to only give guest members access to this page.

Opposite to how you set permissions to just guest on the login link, you can make it so guests do not have permissions to view your slide show pages. Again, set the menus items to 'Only display link if there is permission'.

There's some more stuff I can say about setting up when panels are and are not visible, and setting up either one or two front pages. But I'll wait for your answers before I do that.


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:
#37604
Avatar

Community saint

1) Do you want the left panel gone on all pages, or just the front page?
Sorry I was sowing the 2 options on one picture. So in the above first picture it was either the one panel or just the Zone menu, not both. I would prefer the panel to be gone on all Guest pages and just have the Zone menu as shown above for the guests pages. Once logged in I want everything to function as normal.
2) Do you want two front pages, one for the welcome zone and one for the site zone, or just one front page? You might want the welcome zone one to be like a splash/you-will-need-to-login page, whilst the site zone one to be one for logged in members. It's up to you, but I need to know.
I would kind of like to front pages. One for the Guests and one that is different for the Logged in Members
3) You've got 4 links in the top menu. Are you saying you want to only see 'Login' there, until the user logs in, then it goes to all 4?
If I can do the Zone Menu thing then I would like to see the Menu something like the one in the First picture with no side panel for Guests. Then when a Member logs in they will see the normal Zone Menu and all of the normal Side panels.

If it would be easier to talk you can PM me your number, I have free long distance to the UK, my wife is British so that was a necessity for me.
 

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37620
Avatar

Sorry I was sowing the 2 options on one picture. So in the above first picture it was either the one panel or just the Zone menu, not both. I would prefer the panel to be gone on all Guest pages and just have the Zone menu as shown above for the guests pages. Once logged in I want everything to function as normal.

Ok, that's fine. When you ran the Setup Wizard you would have got the option about merging the welcome and site zones. Hopefully you indicated that you didn't want to. If that's the case, you can just click 'Edit page' under the left panel and blank it out. That'll remove the left panel from the welcome zone, but the one on your site zone will be left intact.

I would kind of like to front pages. One for the Guests and one that is different for the Logged in Members

Great. This is consistent with the above. Your welcome zone is for guests, your site zone is for members.
Make sure you deny guests permission to enter the site zone. You can do this in the Permission Tree Editor.

If I can do the Zone Menu thing then I would like to see the Menu something like the one in the First picture with no side panel for Guests. Then when a Member logs in they will see the normal Zone Menu and all of the normal Side panels.

That is possible, but not easy. You'd basically have to recode a template to be smart about what zone it was in.
I wouldn't advise it anyway, as it could present a usability problem to the user - usually the top-most menu on a site stays unchanged, so it's what most users would expect.

You're probably best off using the zone menu for your most important links and your login link, and then the left panel menu(s) of the site zone for repeating these links and any more less important links.


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:
#37624
Avatar

Community saint

Chris,

Thanks for you suggestions / advice, I think I found out my problem, I did merge it and that was what was causing the problem. I guess I will reinstall the site and start over. Thanks again!
 

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37649
Avatar

Community saint

Well I tried to reinstall the site and it still does not seem correct. I read in the some of the docs and forums about something called a Welcome Zone, I assume that this is the zone that guest would have access to. The problem I am having is that i don't see a Welcome Zone, my guess is I screwed up the install again. Please advise: I want the logged in members to function normal with side panels and all other content. I want guests to have their own content: Their own welcome page, their own Menus, and their own pages that I will create.

If I reinstall is this an option and if so, is it the Welcome Zone that accomplishes this? When I installed the first time I selected:

Single Public Zone:  Checked
Full Guest Access:   Unchecked

The second time I installed I selected

Single Public Zone:  Unchecked
 Full Guest Access:   Unchecked

In both cases I don't see this Welcome Zone that is discussed from time to time. A couple of questions:

  • Is my understanding of the Welcome Zone correct? In other words does the Welcome Zone create a totally seperate area/site for guests only?
  • If my understanding is correct, is the Welcome Zone setup and configured during the wizard step I referenced above? If yes which options do I check and uncheck to get the Welcome Zone?
  • If that is not how it is setup then how is the Welcome Zone created and setup?
  • If my understanding is not correct then how do I accomplish the separation of the Guest area and the Member area.
I am sorry for not getting this but as stated I am new to this "OS" environment thing and I seem to be having a difficult time getting it.

Thanks,

 

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37660
Avatar

ocPortal is composed of various zones, including the welcome zone, the site zone, and the admin zone, and others. These zones are not to do with users being logged in or not, just to do with where the users are looking. They're different sections of your site.
When you go to your website, you start in the welcome zone. The default zone menu at the top moves between zones. If you click 'site' you'd move to the 'site' zone.

The welcome and site zones, by default, do look very similar, but they're not the same. If 'site' is in the URL you're in the 'site' zone.

The advice I've suggested above about setting permissions on the site zone so guests can't get into it, and about removing the left hand panel on the welcome zone, all can still apply. It's just not the way you were thinking about it.

The way you have just run through the Setup Wizard, it will have the welcome zone and site zones separate, which is what you want.


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: