Merge branch 'zope-2.13' of ssh://ssh.cri.ensmp.fr/~pin/gitrepositories/Plinn into...
[Plinn.git] / skins / custom_generic / expanded_title.py
index 8fce45f..7c8301d 100644 (file)
@@ -3,7 +3,7 @@
 ##title=Build title which includes site title
 ##
 site_title = context.portal_url.getPortalObject().title_or_id()
 ##title=Build title which includes site title
 ##
 site_title = context.portal_url.getPortalObject().title_or_id()
-page_title = context.title_or_id()
+page_title = context.Title() or context.getId()
 
 if page_title != site_title:
        page_title = site_title + ": " + page_title
 
 if page_title != site_title:
        page_title = site_title + ": " + page_title