[Zope-CMF] RE: Portal Types: default action
Arjan Huizer
a.huizer@kennisnet.org
Wed, 25 Jun 2003 14:27:18 +0200
Hi,
>> It's different with Folders and Files.
And that is the case. I have written a portal_type "Newsletter" that =
uses PortalFolder as a base class. This newsletter type can only contain =
Documents. My "view" action assembles all documents and creates a nice =
HTML table.=20
Since I want my users to create links from other documents to this =
newsletter I do not want them to have to include the method in the URL.
Is this simple to solve?
Thanks for your help so far!
Arjan
-----Oorspronkelijk bericht-----
Van: Yuppie [mailto:schubbe@web.de]
Verzonden: woensdag 25 juni 2003 14:16
Aan: Arjan Huizer; Zope-CMF List
Onderwerp: Re: Portal Types: default action
Hi!
Arjan Huizer wrote:
> I am using Zope 2.6.1 with CMF 1.3 on a Linux box. I have a question:
> How does Zope/CMF determine what to send to the user when he visits a
> URL like http://localhost/portal/myObject without a trailing method
> added to it? How can this behaviour be changed?
CMF 1.3 and News Item:
1. Go to portal_types > News Item > Actions tab
2. Set 'view' Action to 'news_view'
3. Make sure the user has the Permission specified for this Action
It's different with Folders and Files.
See also the current dicussion about aliases.
HTH,
Yuppie