<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">>>> I'm using MoinMoin to run a non-wiki website, and I would like to<br>

>>> customize the behavior of the navibar.  In particular, I would like for<br>
>>> the current page NOT to be added to the navibar if it is not already</div></blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div class="Ih2E3d">>>> in the navibar.  I am comfortable (ish) with python, html, css, etc., </div></blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div class="Ih2E3d">>>> but I'm not sure which file to modify.  Can someone point me in the right direction?<br>
>><br>
>> You could try replacing the navibar with the sidebar taken from Mandarin<br>
>> or Gugiel themes -- I find them much more flexible and useful for static<br>
>> non-wiki sites, plus you can edit them from the wiki itself.<br>
</div></blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><div>></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">> I grabbed the sidebar function definition from gugiel.py, but I don't<br>
> understand where the sidebar comes from -- do I need to create my own<br>
> HTML file named sidebar.html and stick it somewhere?<br>
<br>
</div>the sidebar itself is another wiki page. so you can add to your current<br>
page a pragma command like "#pragma sidebar MySideBar and then create a<br>
new page named MySideBar. This wiki page "MySideBar" will be now<br>
included in your page (with the pragma). sometimes you can also define a<br>
default sidebar. just create a page called "SideBar" and this page will<br>
be displayed/included on every single wiki page.<br></blockquote></div><br>Ah, I see -- thanks!  I may do this sometime down the road...<br><br>As it turns out, I stumbled upon a much simpler method for now:  navibar items specified in wikiconfig.py are created as <li> elements with class "wikilink" -- if the current page is one of these, it also gets the class "current"; if not, a new <li> item is added with the class "current" but NOT the class "wikilink".  Because of this, the following CSS rules do a fine job of keeping the unwanted items out of the navibar:<br>
<br>...<br>ul#navibar li { display: none; }<br>ul#navibar li.wikilink { display: inline; }<br>...<br><br>Thanks for your help!<br><br>Best, Chris<br>