Re: [Zope-dev] Simple question about namespaces
Hello Antonio, Actually, the problem can not be solved by the Virtual Host Product, for what i know. Let me explain the situation: Im trying to create something like a Template Folder, that contains some folders with images, some DTML Methods that create menus and the like, and a Content Folder, that contains the Content itself. I can have Templates that have just specialized parts of the template and look over at the Main Template folder, in case of not found some object at the Specialized Template. Im having trouble at two points: * First, in making the Specialized Template look over at the Main Template under not found some content (like i said, the specialized content may containt one or two images inside a images folder). Ive tried doing this by overriding the __bobo_traverse__ method of the Specialized Template, but it not worked. * Second, when i call the Content Folder, it is needed to apply the template to it. The content has a property that says what is the Specialized Template that has to be applied when calling it, so, when i call: http://www.mysite.com/ContentFolder i need to apply the template to the folder, maybe calling: http://www.mysite.com/MainTemplate/SpecializedTemplate/ContentFolder But i wish to do this by code, instead of redirecting the user to this url. Hope you understand what ive explained here, and if cannot help me, maybe can tell me who can help me. Thanx.... Em Friday 21 September 2001 10:00, you wrote:
This is not an answer. But you can find information, in how to´s, Zope Help, or Products Help. Look for Virtual Host Product.
Antonio Carrasco
¿The other question?
----- Original Message ----- From: "Sidnei da Silva" <sidnei@x3ng.com.br> To: <zope-dev@zope.org> Sent: Friday, September 21, 2001 2:08 PM Subject: [Zope-dev] Simple question about namespaces
Hello everyone,
Im trying to do something like this: when a user access: http://www.mysite.com/somefolder i wish to return: http://www.mysite.com/onefolder/anotherfolder/somefolder but do this in a transparent form, without redirecting the user. I guess, by calling the "somefolder" in the context of "onefolder/anotherfolder". Maybe by overriding "__bobo_traverse__"
Hope you can help me this time, cause the other questions I have asked to this list where not answered by anyone.
Thanx in advance.
-- Sidnei da Silva X3ng Consultoria e Desenvolvimento Ltda. sidnei@x3ng.com.br
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
-- Sidnei da Silva X3ng Consultoria e Desenvolvimento Ltda. sidnei@x3ng.com.br
participants (1)
-
Sidnei da Silva