Re: [Zope3-Users] Page Template not interpreted

2006-09-06 Thread Sébastien VINOT

Frank Burkhardt a écrit :

On Wed, Sep 06, 2006 at 11:09:03PM +0200, Sébastien VINOT wrote:
  

Hello,

I'm working with Philipp Von Weitershausen's book and I get a strong result concerning the "Customizing a 
site's layout" (chapt. 8) : After setting up all the files my object receipt displays a page which contains 
(on the code) the metal tags.



[snip]

  

 Name



I dont think, the @@standard_macros view should be in a tal:content-attribut. 
Put the content
you want to be in this tag in this attribute:

 Name

  


That's right but it did not correct my "metal" problem. Finally (after a 
nigth) I found my mistake :
On the xmlns:metal I wrote "namespace" instead of "namespaces" that was 
the reason why my meta macros wasn't interpreted.


Thanks for every thing

Sebastien
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Page Template not interpreted

2006-09-06 Thread Frank Burkhardt
On Wed, Sep 06, 2006 at 11:09:03PM +0200, Sébastien VINOT wrote:
> Hello,
> 
> I'm working with Philipp Von Weitershausen's book and I get a strong result 
> concerning the "Customizing a 
> site's layout" (chapt. 8) : After setting up all the files my object receipt 
> displays a page which contains 
> (on the code) the metal tags.

[snip]

>  tal:content="context/@@standard_macros/page">Name

I dont think, the @@standard_macros view should be in a tal:content-attribut. 
Put the content
you want to be in this tag in this attribute:

 Name

Regards,

Frank
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Page Template not interpreted

2006-09-06 Thread Stephan Richter
On Wednesday 06 September 2006 17:09, Sébastien VINOT wrote:
> I'm a bit disappointed because I check several times my code and find
> nothing different with the example. Does someone has any idea where it
> can come from ?

Your macro is correctly looked up, but it is not rendered and the byte code is 
returned. This is indeed strange, since I have never seen this. Without a 
full setup, this is hard to debug.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users