You are here:   » Home » Documentation » Details » How-To » TOC-Lists » Home

Non-hierarchical table ofcContents of a remote node

An overview list of specific documents located under a remote node shall be shown; this node shall be addressed explicitly manually.

Solution: Either the node is addressed directly via the object hierarchy (e1.e3) or the ZMS function for finding an object (getLinkObj('{$e3}',REQUEST)) is used. If the meta-attribute DC.Identifier.DOI is used so the object can also be located via findFilteredTreeNodes(REQUEST=REQUEST,meta_types=PAGES,values=['getDoiPath','DOI']).

<dtml-with "e1.e3">
 <b>
  <dtml-var "getTitlealt(REQUEST)">
 </b>
 <hr>
 <dtml-in "filteredChildNodes(REQUEST,PAGES)">
  <li>
   <a href="<dtml-var "getHref2IndexHtml(REQUEST)">">
    <dtml-var "getTitlealt(REQUEST)">
   </a>
  </li>
 </dtml-in>
</dtml-with>

Comment: Functions like getLinkObj or findFilteredTreeNodes possibly have to pass through the complete tree searching the wanted object which can be very performance-intensive. That is why the direct addressing should be used whenever possible!

References: