Revision [7984]

This is an old revision of OnegWRTree made by OnegWR on 2005-05-09 14:09:15.

 

Tree Action

NOT Included in any Wikka version yet
Last edited by OnegWR:
Where am I - menu
Mon, 09 May 2005 14:09 UTC [diff]

What

Use
{{tree}}

Installation

Code
<?php
// Display a 'tree' of parent-pages by OnegWR
// e.g. OnegWR > OnegWRactions > OnegWRactionsTree
$treelink=$this->Link($this->config["root_page"]);
$treepage="";
$max = strlen($this->tag);
for($i=0;$i<$max;$i++){
        $treepage .= $this->tag{$i};
        if( $this->ExistsPage($treepage) ){
                $treelink .= " &gt; ";
                $treelink .= $this->Link($treepage);
        }
}
print $treelink;
?>

History

To Do


CategoryUserContributions
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki