[Zope] Getting the / (root) id/name

Loren Stafford lstafford@icompression.com
Wed, 27 Oct 1999 17:15:42 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0006_01BF209E.E5E6E820
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I'll answer by including my tree code below -- but you may not be able to
see it (except with View/Source) because this message is formatted with
HTML.

Better not to use HTML messages on this list.

-- Loren

<!-- begin Navigation Tree -->

<!--#unless expr="PARENTS[-1]==PARENTS[0]"-->
  <a href="/">Home</a>
<!--#/unless expr="PARENTS[-1]==PARENTS[0]"-->

 <!--#tree expr="PARENTS[-1]" branches_expr="objectValues(['Folder',
'Confera Topic'])" nowrap=1 sort=id single=1 skip_unauthorized=1-->
  <!--#unless noindex-->
<A HREF="<!--#var "absolute_url()"-->?
<!--#if tree-s-->tree-s=<!--#var tree-s--><!--#/if-->
<!--#if tree-e-->&tree-e=<!--#var tree-e--><!--#/if-->
<!--#if tree-c-->&tree-c=<!--#var tree-c--><!--#/if-->">
<!--#var id--></a>
  <!--#/unless-->
 <!--#/tree-->

<!-- end Navigation Tree -->
    -----Original Message-----
    From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Edward Muller
    Sent: Wednesday, October 27, 1999 16:24
    To: 'zope@zope.org'
    Subject: [Zope] Getting the / (root) id/name


    How do I get the / (root) id/name?

    I want to use it with <dtml-tree>.........
    ----------------------------------------------------------------
    Edward Muller / Firm Wide Architecture - Systems Architect
    Paine Webber - 1000 Harbor Blvd. 5th Floor - Weehawken, NJ 07087
    201-352-0190 - 201-272-7002 (fax) - emuller@painewebber.com
    ----------------------------------------------------------------



------=_NextPart_000_0006_01BF209E.E5E6E820
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3612.1700"' name=3DGENERATOR>
</HEAD>
<BODY>
<DIV>
<DIV><SPAN class=3D860511300-28101999><FONT color=3D#0000ff face=3DArial =
size=3D2>I'll=20
answer by including my tree code below -- but you may not be able to see =
it=20
(except with View/Source) because this message is formatted with HTML.=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D860511300-28101999><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D860511300-28101999><FONT color=3D#0000ff face=3DArial =
size=3D2>Better=20
not to use HTML messages on this list.</FONT></SPAN></DIV>
<DIV><SPAN class=3D860511300-28101999><FONT color=3D#0000ff face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D860511300-28101999><FONT color=3D#0000ff face=3DArial =
size=3D2>--=20
Loren</FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff size=3D2>&lt;!-- begin Navigation Tree=20
--&gt;</FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff size=3D2>&lt;!--#unless=20
expr=3D&quot;PARENTS[-1]=3D=3DPARENTS[0]&quot;--&gt;<BR>&nbsp; &lt;a=20
href=3D&quot;/&quot;&gt;Home&lt;/a&gt;<BR>&lt;!--#/unless=20
expr=3D&quot;PARENTS[-1]=3D=3DPARENTS[0]&quot;--&gt;</FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff size=3D2>&nbsp;&lt;!--#tree =
expr=3D&quot;PARENTS[-1]&quot;=20
branches_expr=3D&quot;objectValues(['Folder', 'Confera Topic'])&quot; =
nowrap=3D1=20
sort=3Did single=3D1 skip_unauthorized=3D1--&gt;<BR>&nbsp; =
&lt;!--#unless=20
noindex--&gt;<BR>&lt;A HREF=3D&quot;&lt;!--#var=20
&quot;absolute_url()&quot;--&gt;?<BR>&lt;!--#if =
tree-s--&gt;tree-s=3D&lt;!--#var=20
tree-s--&gt;&lt;!--#/if--&gt;<BR>&lt;!--#if =
tree-e--&gt;&amp;tree-e=3D&lt;!--#var=20
tree-e--&gt;&lt;!--#/if--&gt;<BR>&lt;!--#if =
tree-c--&gt;&amp;tree-c=3D&lt;!--#var=20
tree-c--&gt;&lt;!--#/if--&gt;&quot;&gt;<BR>&lt;!--#var=20
id--&gt;&lt;/a&gt;<BR>&nbsp;=20
&lt;!--#/unless--&gt;<BR>&nbsp;&lt;!--#/tree--&gt;</FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff size=3D2>&lt;!-- end Navigation Tree=20
--&gt;</FONT></DIV></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #0000ff solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: =
5px">
    <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
    size=3D2>-----Original Message-----<BR><B>From:</B> =
zope-admin@zope.org=20
    [mailto:zope-admin@zope.org]<B>On Behalf Of</B> Edward=20
    Muller<BR><B>Sent:</B> Wednesday, October 27, 1999 =
16:24<BR><B>To:</B>=20
    'zope@zope.org'<BR><B>Subject:</B> [Zope] Getting the / (root)=20
    id/name<BR><BR></FONT></DIV>
    <DIV><SPAN class=3D036022923-27101999></SPAN><FONT size=3D2><FONT=20
    face=3DArial>H<SPAN class=3D036022923-27101999>ow do I get =
t</SPAN><SPAN=20
    class=3D036022923-27101999>he&nbsp;</SPAN>/ (root) id/name<SPAN=20
    class=3D036022923-27101999>?</SPAN></FONT></FONT></DIV>
    <DIV><FONT size=3D2><FONT face=3DArial><SPAN=20
    class=3D036022923-27101999></SPAN></FONT></FONT>&nbsp;</DIV>
    <DIV><FONT size=3D2><FONT face=3DArial><SPAN =
class=3D036022923-27101999>I want to=20
    use it with &lt;dtml-tree&gt;.........</SPAN></FONT></FONT></DIV>
    <DIV class=3DSection1>
    <P class=3DMsoNormal><SPAN=20
    style=3D"FONT-FAMILY: Andale Mono; FONT-SIZE: =
10pt">----------------------------------------------------------------<BR=
>Edward=20
    Muller / Firm Wide Architecture - Systems Architect</SPAN><BR><SPAN=20
    style=3D"FONT-FAMILY: Andale Mono; FONT-SIZE: 10pt">Paine Webber - =
1000 Harbor=20
    Blvd. 5th Floor&nbsp;- Weehawken, NJ 07087</SPAN><BR><SPAN=20
    style=3D"FONT-FAMILY: Andale Mono; FONT-SIZE: 10pt">201-352-0190 -=20
    201-272-7002 (fax) - <A=20
    =
href=3D"mailto:emuller@painewebber.com">emuller@painewebber.com</A><BR>--=
--------------------------------------------------------------</SPAN></P>=
</DIV>
    <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0006_01BF209E.E5E6E820--