Revision [20364]

This is an old revision of ExtendedFooter made by WillyPs on 2008-12-06 19:45:08.

 


An extended footer can contain general site info, stats, links, etc. Generally this technique looks best with smaller print and less contrast than the content area of the page. Often darker and/or muted colors are used. If smaller text is used, more than one column should be used, and the info grouped appropriately. The default Wikka footer is a little sparse on the divs, as it should be, it's much easier to add what you need than to wade through lines of code you don't need.

Here's how I added a two column extended footer to www.prepare4descent.net/DescentiaPedia DescentiaPedia:

First, find (in footer.php):
<?php
echo $this->FormClose();
?>

and, after, add:
?>
		<div class="extended_footer">
			<div class="smallfloatl">
<?php
		
		include_once('actions/changesclip.php');
?>		
				<br /><br />
<?php
		include_once('actions/stats.php');
?>
			</div> 
	
			<div class="smallfloatr">
<?php
		include_once('actions/commentsclip.php');
?>		
				<br /><br />

This adds the div classes "extended_footer", "smallfloatl" and "smallfloatr" to the footer. And three actions, "changesclip", "stats" and "commentsclip".


Categories:
CategoryStyle
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki