[Moin-user] Changing navibar behavior

Mail@Heavy.ch mail at heavy.ch
Wed Feb 11 13:36:50 EST 2009


Christopher MacMinn schrieb:
> I grabbed the sidebar function definition from gugiel.py, but I don't
> understand where the sidebar comes from -- do I need to create my own
> HTML file named sidebar.html and stick it somewhere?

the sidebar itself is another wiki page. so you can add to your current
page a pragma command like "#pragma sidebar MySideBar and then create a
new page named MySideBar. This wiki page "MySideBar" will be now
included in your page (with the pragma). sometimes you can also define a
default sidebar. just create a page called "SideBar" and this page will
be displayed/included on every single wiki page.

hope it helps

bye
Marcel



> 
> - Chris
> 
> 
> On Wed, Feb 11, 2009 at 12:25 PM, Radomir Dopieralski <moin at sheep.art.pl
> <mailto:moin at sheep.art.pl>> wrote:
> 
>     Wed, Feb 11, 2009 at 12:08:15PM -0500:
>     > Hi folks -
>     >
>     > I'm using MoinMoin to run a non-wiki website, and I would like to
>     customize
>     > the behavior of the navibar.  In particular, I would like for the
>     current
>     > page NOT to be added to the navibar if it is not already in the
>     navibar.  I
>     > am comfortable (ish) with python, html, css, etc., but I'm not
>     sure which
>     > file to modify.  Can someone point me in the right direction?
> 
>     You could try replacing the navibar with the sidebar taken from Mandarin
>     or Gugiel themes -- I find them much more flexible and useful for static
>     non-wiki sites, plus you can edit them from the wiki itself.
> 
>     --
>     Radomir Dopieralski, http://sheep.art.pl
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user





More information about the Moin-user mailing list