Can anybody help with a problem I'm having. I've just started using Zope and I'm developing a reasonably simple intranet. The point at which I'm having problems is trying to write a dynamic navigation bar. I have a dtml method called from my standard header which will display certain blocks of dtml dependent on the id of the containing folder. This works fine when the documents are contained in a one folder system, but I have a folder with sub-folders and I would like to be able to display some dtml based on the main folders id. Sure thats clear but hoping for a response so..... This is part of the method, what I'd like is that a document within a sub-folder of 'Manage' will also display the links: <dtml-elif expr="id == 'Manage'"> <td width="16%" bgcolor="#00CCFF" class="tableEntryActive"> <h1 class="verdlink"><a href="IISPORTAL">Home</a></h1> <h1 class="verdlink"><a href="Manage">News Management</a></h1> <ul> <dtml-in expr="Manage.objectValues('Folder')"> <li><a href="&dtml-absolute_url;?search="""><dtml-var title></a></li> </dtml-in> </ul> Thanks Tone
On Monday 22 October 2001 12:27 pm, Tony Flanagan allegedly wrote:
Can anybody help with a problem I'm having. I've just started using Zope and I'm developing a reasonably simple intranet. The point at which I'm having problems is trying to write a dynamic navigation bar. I have a dtml method called from my standard header which will display certain blocks of dtml dependent on the id of the containing folder. This works fine when the documents are contained in a one folder system, but I have a folder with sub-folders and I would like to be able to display some dtml based on the main folders id. Sure thats clear but hoping for a response so.....
You probably should set a property on the folder used to contain the navigation. Something like "site_section". This will then propagate down to lower level objects via acquision. Otherwise, assuming the "section" folder is always one level below the root, you could use REQUEST.steps to get it's id. REQUEST.steps contains a list of objects traversed to get to the published object. hth, /---------------------------------------------------\ Casey Duncan, Sr. Web Developer National Legal Aid and Defender Association c.duncan@nlada.org \---------------------------------------------------/
Hallo everybody, does anyone know, how to urge zope to accept uploads higher than 2 or 3 MB? We use exfile vzw. eximage to upload files to a loacal filesystem. But unfortunately we get an error if we user bigger files or images. Thanks in advance Thomas Boettger
I've done 650MB uploads to a regular File object... dunno about extfile.
From: "Thomas Boettger" <tb@net-federation.de> Reply-To: <tb@media-meter.de> Date: Tue, 23 Oct 2001 08:36:01 +0200 To: <zope@zope.org> Subject: [Zope] upload file size limited?
Hallo everybody, does anyone know, how to urge zope to accept uploads higher than 2 or 3 MB? We use exfile vzw. eximage to upload files to a loacal filesystem. But unfortunately we get an error if we user bigger files or images.
Thanks in advance Thomas Boettger
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Casey Duncan -
marc lindahl -
Thomas Boettger -
Tony Flanagan