A couple of clarifications.

In the argument table, if there is no number specified, then you must
use the keyword like rootpage=SomePage.

Secondly, I have not found a way to get a childtree of / since
basically, that page doesn't exist, but is merely a pointer to some
other page.

Other Notes:
   tree will not work with rootpage=/ or on a toplevel page whose parent
seems to be / such as /HelpOnMacros.
   childtree will not work on /, but will work on /HelpOnMacros.

This is consistent with what the original Navigation macro does when
trying to do [[Navigation(siblings)]] on a toplevel page such as
/HelpOnMacros.


Thanks,
Eric

Eric Davis wrote:
> Hey everyone,
> 
> I have updated the Navigation macro to include some new things,
> including a Tree navigation.
> 
> Features of this new macro:
>   Will work just like the old Navigation macro
>   [[Navigation(help)]] will print a help table
>   new types, tree navigation, both children and siblings
>   new format bulleted list (only applies to siblings and children)
>   can show full name of page
>   can pass in a rootpage
>   can turn off the table around the output
> 
> Feel free to include it in MoinMoin.
> 
> Thanks,
> Eric
> 
> 
> The Help:
> [[Navigation(args)]]: navigate slides or children and sibling pages
> 
> Arg Number and/or keyword     Argument Definition
> ---------------------------------------------------
> 0 \ type      the type of navigation valid types are: children,       
>               siblings, tree, childtree, slideshow, slides (default:
>               children)
> 
> 1 \ maxdepth  the maximum depth to search (default: No limit)
> 
> format                the format of the list, valid: bullet, string (default:
>               string)
> 
> fullname      flag to show the full name of the page, True of False   
>               (default: False)
> 
> navtable      flag to wrap the output in the navtable, True or False
>               (default: True)
> 
> rootpage      the root page to start from, (default: current page)
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Moin-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/moin-user


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to