[ Pobierz całość w formacie PDF ]
.If you would prefer to only give them limited permissions, you can use Zope'sconcept of local roles to give them more permission in just one part of the site.To do this, navigate in Plone to the folder where you want the member to collaborate or take responsibility forthe content.Click on Switch to Contents view in the navigation box.Next, click on the tab forlocal roles.Giving them permission is a two-step process.First you find the member.Then you give them permission.InSearch by, choose User name and then provide the member's name in Search Term.Next, click onperform search.On the next screen you will see the Search results.In the Role to assign box, choose Manager.Thenclick on assign selected role to user(s).The local roles facility is very powerful and flexible.You can create new roles and customize the power givento those roles.However, this power confronts you with the Zope security management interface, which isn'tfor the faint of heart.Can I exist outside my Plone?No, this isn't the lead-in to a Camus novel.What if you already have a Zope manager account? Or, what ifyou want to have one login for many Plone sites inside a Zope process?Yes, you can indeed keep your Zope user account and still be a manager or member inside a Plone site.Plonewill even create a Member folder for that account, while re-using the acl_users entry outside Plone.Plonewill not create a new entry in its own acl_users.Operations such as finding members in local roles,mentioned above, still work by looking in acl_users folder of parents.However, you will still miss a couple of items.If you want a portrait and member information, you need tohave an account inside the ports.That account can still have the same username as the account higher up inZope.However, they are two separate entries.For instance, changing the password for one will not apply tothe other.How can I promote a member? 78Chapter 1: IntroductionDisable member joiningIf you are running an intranet-oriented or publishing-oriented site, and not a community-oriented site, youmight not want arbitrary people to become members.Fortunately it is easy to disallow joining.Visit the ZMIfor your Plone site.For instance, the URL might be http://localhost:8080/plone/manage.Clickon the Security tab.Find the permission labeled Add portal member.Uncheck the box in the columnlabeled Acquire (the first column).Next, check the box for the Manager and Owner column.Save yourchanges by clicking on Save Changes.Change the tabs for site navigationPlone sites have a series of tabs right under the logo.By default, these tabs are welcome, members, news,and search.Fortunately changing these tabs is easy.First, go to the ZMI for the Plone site.For instance, the URL mightbe http://localhost:8080/plone/manage.In the folder list on the left, click onportal_actions.You will now see many "actions" separated by horizontal rule lines.Look for the actions with a Categoryof portal_tabs.These are the actions that appear as tabs under the logo.The easiest way to create a new action is to clone an existing one.Find the action with a name of Welcome.Based on its contents, fill in the fields at the bottom of the screen, under Add an action.Click on Add.The new action appears at the end of the list.Next you need to put the new action in the right order by moving it up in the list.You may select (check)multiple actions, and when you click "move up" or "move down", they will all move.So, after you've added anew action, select all the actions between your new action and where you want it to be.Click "move down"and it's there!Since the new tab is used as navigation, it probably points to a folder in the site.Make sure this folder existsand is published.If you are adding the folder now, make sure you add it from the Plone interface and not theZMI.Pointing the tab at a folder will also make content under that tab display a highlighted tab to indicate thedocument is in that part of the site.Fortunately, it is easier to hide or remove a tab.Find the action and uncheck the Visible? checkbox to hidea tab.To permanently remove it, click the checkbox, scroll down to the buttons, and click Delete.Authoring Links via WebDAVI'm a WebDAV nut, because I like to use my own tools for authoring, plus I like to create material whileoffline.In fact, I'm on a train right now, authoring these recipes.Our strategy for adding link support is to support the use of the Type header in the input document.Forinstance, a new link object using structured text might look as follows:Title: Test Link TitleSubject:Publisher: No publisherDisable member joining 79Chapter 1: IntroductionDescription: Test Link DescriptionContributors:Effective_date: NoneExpiration_date: NoneType: LinkFormat: text/urlLanguage:Rights:http://www.plone.org/Of course you might be lazy like me and only enter the Title, Type, and put the URL for the link in thebody.Zope/CMF/Plone gives builtin support for authoring documents through DAV or FTP.You just need to knowthe "source port" of your site.This is the port used in the -W argument to the Zope startup script
[ Pobierz całość w formacie PDF ]