We're using doku to develop a wiki for the city of Grand Rapids, MI
http://g-wiki.org.
We're trying to implement a 'service area' that loads at the bottom of everypage, similar to the hemingway template for wordpress. You can see an example here.
http://www.grooverelativity.com/provflux/.
We'd like our service area to have a 3 column table with the following content: 1st column -login window/status, help links; 2nd column Recent items (actually an archive list of the blog plugin), 3rd column an index of content using the indexmenu plugin.
http://www.grooverelativity.com/provflux/. We started with the excellent 'simple' template (
http://www.chimeric.de/dokuwiki/templates/simple).
We've created a pagefooter.html file see below. Our questions are:
1. Is this the right direction?
2. What code do we put in to bring in a login function that shows the login window if the person is not logged in and shows a user status and logout link if the person is not logged in?
3. How do we get the archive and index to show up at this point in the page. It makes sence that the wiki code does not work here since it is after the wikipagestop. If the wikicode won't work here to call up these things, is there another way to do this?
I'm obviously a novice at these things. Any help is greatly appreciated.
- Paul
<?php
/**
* Example footer include
*
* This file shows you how to use the include hooks. However I recommend to
* create your own complete new template instead.
*/
?>
<div align="center" class="pagefooterinc">
<table width="95%" border="0" align="center">
<tr>
<td valign="top">Login:
<p> <?php include(html_login); ?>
<br />
</p>
<p>{{NEWPAGE}}</p>
<p>{{indexmenu>wiki:help|js}}</p>
<p> </p></td>
<td valign="top"><p>Recently</p>
<p>{{archive>*?2006-08}}</p></td>
<td valign="top"><p>Pages</p>
<p>{{indexmenu>pages|js}}</p></td>
</tr>
</table>
</div>