Hello James,
You cannot attach a style to a topic (period).
Do you mean that you want to use different navigation
in separate topics? If so, you could call for NNB in
each topics CODE or EXTRA fields and make your
style/page look for those fields. I.e.
<?php
if (!empty($topic->code)) {
?>
&(topic.code:p);
<?php
} else {
//If there's nothing in CODE display "standard" navigation or something
else
nemein_draw_navbar2($basearray);
}
?>
BUT you simply cannot hook styles to topics,
you need a page for each topic to do that.
Of course you could make your style to look for
topics' names and then decide what to show
but that would make your site terribly hard coded.
Give me a little more details what you are about
to do and maybe I can give you a better answer.
Hope this helped.
Cheers
//Henri Kaukola
----- Original Message -----
From: "James Gifford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 17, 2003 8:11 AM
Subject: [midgard-user] Nemein Navbar and multiple pages and styles
> Hi
>
> Just wondering how other people deal with this. Nemien Navbar only
> works on the root page. But that means you can only have a root style.
> I want to have different styles for different topics. What is the best
> way that people have found to do this?
>
> Thanks
> James
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]