Hi, I relatively new to Zope and got a small problem: I have the following Site structure Home |-Images (only these that are shared among all folders) |-News | |-Images (only these that are useful to the News only |-... But when I include a header from Home in a dtml-document in News I don't get the images that are referenced there. To illustrate this the content of index_html of News is this way: <dtml-var standard_html_header> blabla <img src="Bilder/bg.gif"> blabla Now the bg.gif lies under Home/Bilder and is displayed correctly, but 2 Images from the header are not displayed. Both exist and If I access the Images by appending Bilder/img1.gif to the News-Url I get the following error: | Site Error | | An error was encountered while publishing this resource. | | Debugging Notice | Zope has encountered a problem publishing your object. | | Cannot locate object at: | http://localhost:9673/ls-dbis/News/Bilder/EckeLinksOben.gif | | Troubleshooting Suggestions | | * The URL may be incorrect. | * The parameters passed to this resource may be incorrect. | * A resource that this resource relies on may be | * encountering an error. | | For more detailed information about the error, please refer | to the HTML source for this page. | | If the error persists please contact the site maintainer. | Thank you for your patience How can I resolve this, or is it unresolveable? That would be very bad, as I began to love the possibility to have common images shared among folders wothout having N copies of it. (and without creating the img src with dtml or script) Andreas -- Wer nicht manchmal den Verstand verliert, hat keinen.
Acquisition stops at the first 'Images' folder it finds. Your '/News/Images' folder effectively hides the one in the root. As you are new to Zope I can probably save you a lot of time by telling you to just skip the DTML chapters in the books. Go directly to PageTemplates and PythonScripts. Stefan On Donnerstag, Mai 1, 2003, at 20:23 Europe/Vienna, Andreas Pakulat wrote:
Hi,
I relatively new to Zope and got a small problem:
I have the following Site structure
Home |-Images (only these that are shared among all folders) |-News | |-Images (only these that are useful to the News only |-...
But when I include a header from Home in a dtml-document in News I don't get the images that are referenced there.
To illustrate this the content of index_html of News is this way:
<dtml-var standard_html_header> blabla <img src="Bilder/bg.gif"> blabla
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/
On 01.Mai 2003 - 22:31:21, Stefan H. Holek wrote:
Acquisition stops at the first 'Images' folder it finds. Your '/News/Images' folder effectively hides the one in the root.
As you are new to Zope I can probably save you a lot of time by telling you to just skip the DTML chapters in the books. Go directly to PageTemplates and PythonScripts.
Thanks for that hint, but I'll do that as soon as I do understand the functionality behind the site. I am here to extend and refresh the content of the site - which was created using Zope 2.3 and though had to use DTML. At the Moment I want to get the current site working as it did before, but introducing some small improvements (like better indenting and using small scripts for the navigation bar). So thanks anyway, I now know from another mail that a script is the only way to get what I want. BTW: No need to CC me, I'm reading the list. Andreas -- 'Ich habs gleich!', sagte der Programmierer.
participants (2)
-
Andreas Pakulat -
Stefan H. Holek