[z3-five] integrate a zope 3 site into plone menu structure via zcml
Tres Seaver
tseaver at palladion.com
Fri Oct 20 17:35:26 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dennis Schulz wrote:
> Hi,
>
> I want to integrate my page "addPR.html" into the Plone menu system in
> the folder ${portal_url}/PRSYSTEM/addPR.html
> But It does not seem to work.
> Can you help me to get it run?
>
> <browser:menu
> title="lalilu"
> id="my_menu"
> />
>
> <browser:page
> class=".browser.PurchaseRequisitionContentAddForm"
> name="addPR.html"
> permission="zope.Public"
> for="*"
> menu="my_menu"
> title="DDDDDDDDDDDD"
> />
>
> <browser:menuItem
> for=".interfaces.IPurchaseRequisitionContent"
> menu="my_menu"
> title="MENUITEMMENUITEM"
> action="${portal_url}/PRSYSTEM/addPR.html"
> permission="zope.Public"
> />
Plone isn't going to look at those menu items by default: you need to
use the CMF "actions" machinery to expose your view.
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFOOy9+gerLs4ltQ4RAsTfAKCsTXeO1YLxuWpg8McUNV0PdPbwswCfY8is
Ai6758RZQRLY2Vi9q1tgDLI=
=GGLf
-----END PGP SIGNATURE-----
More information about the z3-five
mailing list