Hi,
> How do I make a Where am I bar ? How to plan and realize it ?
> Is someone out there who can help with that ?
I asked the same wuestion a week ago. Here is what I put together (due to no
response to my mail). This is a really basic location bar and i'd like to
see some of the professionals give me some improvements. There are also no
links to the shown location. I think this could be done with pagelinks?
right?
<?
$root="/dvz";
$rootpageid=89;
$rootpage = mgd_get_page($rootpageid);
$page = mgd_get_page($midgard->page);
$rootlink="[ <a href=\"$root/\">$rootpage->title</a> ]";
while ($page->up != 0) {
$link = " -> [ $page->title ]" . $link;
$page = mgd_get_page($page->up);
} ;
echo $rootlink.$link;
?>
I think $root could also be retrieved from midgard, have seen something in
the list archiv, but didn't dug really deep into it.
regards Martin
--
Dipl.-Ing. Martin Hierling - DV-Zentrale FH-Lippe - Raum 343
Liebigstr. 87 - 32657 Lemgo - Germany
Tel.: +49-(0)5261 - 702-433 - Fax: +49-(0)5261 - 702-467
mailto: `echo [EMAIL PROTECTED] | sed 's/[NOSPAM]//g'`
----------------------------------------------------------------
Who is "General Failure" and why is he reading my disk?
----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]