Commit c33994d4 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not override portal_path if already exists, it is required for Zope-2.12...

do not override portal_path if already exists, it is required for Zope-2.12 and erp5_web otherwise portal_path is replaced with ERP5 portal's absolute_url instead of the web site's absolute_url.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38903 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ace513f
......@@ -43,7 +43,7 @@
<tal:block metal:define-macro="header_definitions">\n
<tal:block tal:define="\n
global portal here/portal_url/getPortalObject;\n
global portal_path portal/absolute_url;\n
global portal_path portal_path | portal/absolute_url;\n
local_parameter_list local_parameter_list | python: {};\n
action_context python: portal.restrictedTraverse(request.get(\'object_path\', \'?\'), here);\n
global actions python: here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(action_context));\n
......
1027
\ No newline at end of file
1028
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment