List Info

Thread: Including wikipages in the header




Including wikipages in the header
country flaguser name
Germany
2007-04-03 05:39:08
MoinMoin,

is there any way to include a wikipage in the
header-function?
I need some content to be displayed on every site of the
wiki, and i
think the easiest way is to create a wikipage and include it
within the
header-function in the mytheme.py, but i donÂīt have any
idea how to get
it work.
Or is there another, maybe better, way to realize this?

greetings from Dortmund, Germany,
Robert


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Moin-user mailing list
Moin-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Re: Including wikipages in the header
user name
2007-04-03 20:49:21
On Apr 3, 2007, at 3:39 am, Robert Torkuhl wrote:
> is there any way to include a wikipage in the
header-function?
> I need some content to be displayed on every site of
the wiki, and i
> think the easiest way is to create a wikipage and
include it within  
> the
> header-function in the mytheme.py, but i donīt have any
idea how to  
> get
> it work.
> Or is there another, maybe better, way to realize
this?

Perhaps this will work for you:

http://moinmoin.wikiwikiweb.de/MoinMoinPatc
h/ParsedInBodyHeaderFooter

Applies to
     Moin 1.5.4
Purpose
     Allows you to apply an arbitrary header/footer to the
body  
before it's parsed.
Description
     The basic idea here is to allow the user to
prepend/append  
arbitrary wiki text to the body of every page. On our wiki,
for  
example, we use this to display something similar to
[[AttachList]]  
at the bottom of every page, to make it easier for our end
users to  
find & download attachments; though there are certainly
innumerable  
other uses. The configuration parameter is a dictionary, so
that  
you're able to specify a different header/footer for each
formatter.

- Max



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Moin-user mailing list
Moin-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )