[Zope] Re: [ez] ZMenu 0.0.2 product

Maik Roeder roeder@berg.net
Fri, 25 Aug 2000 14:57:41 +0200


Hi Hugo !

Hugo Ramos wrote:
> ZMenu is a complete navigational system that uses a tree like display.
> It allows you to dinamicly add a navigational link menus system to your site.

I have added part of your Product into the ZDP-Tools by adding a
DTML method to my DocumentFolder ZClass, and it works out of the box;-).

Have a look at:
http://zdp.zope.org/projects/eurozope/ZMenus_Tree_Navigation

or from the top:

http://zdp.zope.org/ZMenus_Tree_Navigation

This shows the hierarchy of the ZDP site.

It still needs to be integrated, but it already is some kind of a 
SiteMap. It is also some kind of Pike lookalike, that I may use 
for my Weblog thingie I have been thinking about.:

> This ZClass based product is still in a development stage and I'dd like to
> have some feedback about it... so email me about any problems or sugestions.

Your product assumes that the users manually add links to other content on
the site, but the funny thing is that this can be automatized. Why add links
when the content is already there ? 
 
> You can download it here (there is also a pic):
> http://www.zope.org/Members/hramos/products/ZMenu

This is the only method I have adopted from your Product:

<dtml-var standard_html_header>

<dtml-tree id branches_expr="objectValues(['Book','Chapter','Comment',
'CommentFolder','DiscussionFolder','DocumentFolder','Draft','DraftSubmissionFolder',
'Event','EventFolder','FAQAnswer','FAQFolder','FAQQuestion','FAQSection','Foil',
'FoilFolder','Member','MemberFolder','News','NewsFolder','Paragraph','Part','Phase',
'Portal','PortalFolder','Process','ProductDocumentationFolder','Project','ProjectFolder',
'Search','SearchEngine','SearchFolder','Snippet','SnippetFolder','Subject','Task',
'TaskFolder','Topic','TopicFolder','WebSiteLink','WebSiteLinkFolder','ZClassDocumentation'])"
 sort=title>

   <dtml-if tree-item-expanded>
     <dtml-if "NeedsReaders!=0">
      <b><i><a href="<dtml-var "absolute_url()">"><dtml-var nickname></a></i></b>
     <dtml-else>
        <b><i>(<dtml-var nickname>)</i></b>
     </dtml-if>
   <dtml-else>
     <dtml-if "NeedsReaders!=0">
      <b><i><a href="<dtml-var "absolute_url()">"><dtml-var nickname></a></i></b>
     <dtml-else>
        <b><i>(<dtml-var nickname>)</i></b>
     </dtml-if>
   </dtml-if>
</dtml-tree>

<dtml-var standard_html_footer>

Best regards,

Maik Röder

-- 
"The computing future is based  on "cyberbodies" - self-contained, 
neatly-ordered,  beautifully-laid-out  collections of information, 
like immaculate giant gardens." The second coming - A manifesto. David
Gelernter http://www.edge.org/3rd_culture/gelernter/gelernter_p1.html