WillyP's WikkaStyle : ActionsInTheFooter

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Tested with: WikkaWiki version 1.1.6.4
Demo: DescentiaPedia

Actions in the Footer


Actions can be used in the footer of your wiki to add the functionality of an action to every page. Obviously some actions will be inappropriate in the footer, and may give unexpected results. To add a function to a footer, open footer.php in your php editor. (You can find it in the templates folder of version 1.1.6.4.)

Add this code where you want the action to show:
<?php
       
        include_once('actions/changesclip.php');
?>     

Of course, you will want to change 'changesclip' to the name of the action you want to show.
Style
You will want to add some style to integrate this mod with your wiki, see ExtendedFooter.

Here's an example of an extended footer with recent changes, recent comments and some other stats showing.
DescentiaPedia
I rewrote the actions used to make them display the way I wanted them to. Formating the data output strings consistently, removed tables, etc... Here are links to the documentation of what I did.
changesclip.php
commentsclip.php
stats.php


There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0415 seconds