Problem with acquisition and macro.
Hello, I've put this hierarchy in my site : /root-folder | ` page_template ` index_html + folderA | ` index_html + print-friendly | ` page_template I thought that when accessing http://somesite/print-friendly/folderA I would use the page_template found in print-firendly. But this is not the case. Here is the way I import the page template in my index_html : <HTML metal:use-macro="here/page_template.pt/macros/page"> Do anybody has a clue ? -- (°> Nicolas Évrard / ) Liège - Belgique ^^
----- Original Message -----
From: "Nicolas Évrard" <nicoe@altern.org> To: <zope@zope.org> Sent: Wednesday, July 09, 2003 7:39 PM Subject: [Zope] Problem with acquisition and macro.
[snip]
<HTML metal:use-macro="here/page_template.pt/macros/page">
Do anybody has a clue ?
Yes, Why do you refer "page_template.pt" when its id is "page_template" ? Try... <HTML metal:use-macro="here/page_template/macros/page"> --Gilles
* Gilles Lenfant [21:39 09/07/03 CEST]:
----- Original Message -----
From: "Nicolas Évrard" <nicoe@altern.org> To: <zope@zope.org> Sent: Wednesday, July 09, 2003 7:39 PM Subject: [Zope] Problem with acquisition and macro.
[snip]
<HTML metal:use-macro="here/page_template.pt/macros/page">
Do anybody has a clue ?
Yes,
Why do you refer "page_template.pt" when its id is "page_template" ? Try...
Well, it was just a cut'n'paste. In fact it's really page_template.pt. -- (°> Nicolas Évrard / ) Liège - Belgique ^^
* Nicolas Évrard [03:03 10/07/03 CEST]:
* Gilles Lenfant [21:39 09/07/03 CEST]:
<HTML metal:use-macro="here/page_template.pt/macros/page">
Do anybody has a clue ?
Yes,
Why do you refer "page_template.pt" when its id is "page_template" ? Try...
Well, it was just a cut'n'paste. In fact it's really page_template.pt.
Ok I was just plain stupid. I should access the page with this url : http://somesite/01_test/print-friendly I though acquisition works the other way (although I used it the right way two days before (did I say I was stupid ?)). -- (°> Nicolas Évrard / ) Liège - Belgique ^^
participants (2)
-
Gilles Lenfant -
Nicolas Évrard