Vidar Berg wrote:

> Hi,
> 
> What code should I use to get the
> 
> "You are here:  > Main > News"
> 
> effect?

Given that you have an topic id $t:

while ($topic = mgd_get_topic($t)) {
$location = "> " . $topic->name . $location;
$t = $topic->id;
}

echo "You are here: $location"

OK, so you'll probably want to add hyperlinks and stuff, but this is the 
general idea. If you want to start from an article, start with $t = 
$article->topic.

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to