[Erp5-report] Re: [Aukm] r26 - /erp5_au/SkinTemplateItem/portal_skins/erp5_web_au_theme/
Jean-Paul Smets
jp at nexedi.com
Fri Oct 13 09:28:16 CEST 2006
I do not agree with this.
Please *use* references.
JPS.
Le jeudi 12 octobre 2006 14:28, nobody at svn.erp5.org a écrit :
> Author: bartek
> Date: Thu Oct 12 14:28:58 2006
> New Revision: 26
>
> Log:
> use id in url's, not reference - references don't work properly, also
> they are not unique in our case
>
> Modified:
>
> erp5_au/SkinTemplateItem/portal_skins/erp5_web_au_theme/WebSite_getDocume
>ntUrl.xml
>
> Modified:
> erp5_au/SkinTemplateItem/portal_skins/erp5_web_au_theme/WebSite_getDocume
>ntUrl.xml
> =========================================================================
>===== ---
> erp5_au/SkinTemplateItem/portal_skins/erp5_web_au_theme/WebSite_getDocume
>ntUrl.xml (original) +++
> erp5_au/SkinTemplateItem/portal_skins/erp5_web_au_theme/WebSite_getDocume
>ntUrl.xml Thu Oct 12 14:28:58 2006 @@ -105,7 +105,7 @@
> subpath=[]\n
> while hasattr(main_section,\'aq_parent\') and
> hasattr(main_section,\'getPortalType\') and
> main_section.getPortalType()!="Web Section" and
> main_section.getPortalType()!="Web Site":\n main_section_path =
> str(main_section.absolute_url())\n
> - subpath.insert(0,main_section.getReference() or
> main_section.getId())\n + subpath.insert(0,main_section.getId())\n
> main_section = main_section.aq_parent\n
> \n
> # then, if context is a web page, the reference must be added to the
> URL\n
>
> _______________________________________________
> Aukm mailing list
> Aukm at nexedi.com
> http://oldrack.openbrick.org/mailman/listinfo/aukm
--
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 29 02 44 25
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Rentalinux: Desktop Linux Server
http://www.rentalinux.com
More information about the Erp5-report
mailing list