[Zope] Doing Python-ish things in Zope...

Zope on a Rope zope@jules.com
Mon, 07 Jun 1999 17:05:52 -0400


--=====================_437199920==_
Content-Type: text/plain; charset="us-ascii"

Thanks for the zippy reply.

At 04:03 PM 6/7/99 -0400, Pavlos Christoforou wrote:
>On Mon, 7 Jun 1999, Zope on a Rope wrote:
><!--#if expr="title[0:2] != 'zzz'"-->

Now that worked like a charm. Cheers!

>> That works well until I try to stay tidy and add subdirectories. I renamed
>> my resource directory 'zzz' but when I put, say, an 'img' folder in it, the
>> 'zzz' directory doesn't show up on the tree but the 'img' folder does.
>> 
>> Any clues?
>
>I am not sure I understand what the problems is. I have a similar structre
>as yours and I basically do:
>
><!--# var "zzz.img.arrow.absolute_url()"-->
>
>and it works fine.

As it did for me. Good tip and thank you!

>If this is of no help can you give us some more info?

Please have a squint at the small graphic I've attached. Hopefully that'll
explain it a bit better.

I've temporarily renamed the title to show up. If I do change it back to
start with 'zzz', it's hidden but the problem is the tree +/- still shows up.

Thinking NT-like or -- gasp! -- Lotus Domino-like, is it possible to set an
access control entry on a folder like this so anonymous users won't see it
at all? A better solution maybe?

Thanks!
Jules
--=====================_437199920==_
Content-Type: image/gif; name="zope-q.gif";
 x-mac-type="47494666"; x-mac-creator="4A565752"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="zope-q.gif"

R0lGODlhuwB4APcAAAAAAABChACEhFIYjFJSUoSEhMbGxsbO3v//////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////ywAAAAAuwB4AAAI/gAPCBxI
sKDBgwgTKl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63y2LvvstNdu++2456777ry7DJxNvQc1mGbBnzR8
8T8dj3xMcolG/PIgKQ+9StJPj1L11gv2O0/Zd+/99+CHL/745Jdv/vnoH4Rg+hiR9NqT7Dfk/nnw
x9/fefRPZPT4ximHv3n108/5SFIA//0PPREJIPRy0r8Dvk8iClyedQrowL7YBz/cCc16HlMfDq4n
giuTDwXphxj9sCeD+dFgalDIHedsBzpqE6H/lmIA9QkwNThEoXueYxobgfBlZyLMSlJuiEMeoqaF
K3RMb9YXw/cBoEY29I4OWXhEroDnhy1joGKkk0EqGvGFKsyNEmGYOJYwsTSpa1h+TsNGytAnhXBc
3RlRYkH7tY+IdtSf6vLIxz768Y+ADKQgB0nIQhrykAUJCAAAOw==
--=====================_437199920==_--