[Zope-CMF] Re: [dev] type actions, views and aliases: prototype

Yuppie schubbe@web.de
Sun, 22 Jun 2003 19:20:44 +0200


Hi!


Today I checked in a 'first cut' of the proposed 'aliases' feature.

It gives you almost full control over type action URLs. Some examples 
that should work with the prototype:

Alias:  www.example.org/foo/index.html
Method: www.example.org/foo/index_html

Alias:  www.example.org/foo/edit.html
Method: www.example.org/foo/folder_edit_form

Alias:  www.example.org/bar/edit.html
Method: www.example.org/bar/portal_form/document_edit_form

Alias:  www.example.org/bar/view.pdf
Method: www.example.org/bar/document_view/html2pdf

Alias:  www.example.org/baz/download
Method: www.example.org/baz


If you want to try it out, check out this CMF branch:

   yuppie-ti_aliases-branch

or download

<http://cvs.zope.org/CMF/CMF.tar.gz?tarball=1&only_with_tag=yuppie-ti_aliases-branch&cvsroot=Zope>


Add a new CMFSite and look at the Aliases Tab of portal_types.

Comments are welcome!
Please let me know if you think I'm on the wrong track.


Cheers,

Yuppie