here/title in Page Template
My default index_html template is returning "Zope" when I call here/title In the ZMI, the title property is clearly set to something else. Does anyone know why this might be? Zope 2.5 Win32. T.
"here" is the context in which the template is called, not the template itself - in this case , it is the folder in which your "index_html" resides, i gather if you check , you will most probably find that "zope" is the title-property for your root folder.. seems to me like you want "template/title" .... :-) on or about, Wednesday, May 08, 2002, we have reason to believe that Tom Nixon wrote something along the lines of : TN> My default index_html template is returning "Zope" when I call TN> here/title TN> In the ZMI, the title property is clearly set to something else. Does TN> anyone know why this might be? -- Geir Bækholt web-developer geirh@funcom.com funcom oslo | webdev-team
You were right, it was acquiring the title from the root folder. I have renamed the root folder title and it works fine. The weird thing is that it exhibits the same behaviour when I explicitly call index_html. Surely "here" should then be the context of the template itself? I think this is what confused me in the first place. Never mind, it's working now :) T.
"here" is the context in which the template is called, not the template itself - in this case , it is the folder in which your "index_html" resides, i gather
if you check , you will most probably find that "zope" is the title-property for your root folder..
seems to me like you want "template/title" ....
:-)
on or about, Wednesday, May 08, 2002, we have reason to believe that Tom Nixon wrote something along the lines of : TN> My default index_html template is returning "Zope" when I call TN> here/title TN> In the ZMI, the title property is clearly set to something else. Does TN> anyone know why this might be?
-- Geir Bækholt web-developer geirh@funcom.com funcom oslo | webdev-team
participants (2)
-
Geir B�kholt -
Tom Nixon