[pmwiki-users] patch: tweaks to main wiki theme

Ed W lists at wildgooses.com
Fri Jul 22 14:05:42 CDT 2005


Hi, I was developing a new theme for my site and the default pmwiki 
template isn't a bad starting point, but it misses a few tags which 
would be useful for more control over the styling (or perhaps my CSS 
just isn't good enough...)

Anyway, the following minor tweaks would be useful in the main theme, 
and I'm sure there are a couple of other cleanups which others might 
suggest now that I have broken the ice?

Thanks

Ed W

--- pmwiki.tmpl.old     2005-07-22 19:58:25.000000000 +0100
+++ pmwiki.tmpl 2005-07-22 20:02:46.000000000 +0100
@@ -8,6 +8,7 @@
   <!--HeaderText-->
 </head>
 <body>
+<div id='globalwrapper'>
 <!--PageHeaderFmt-->
   <div id='wikilogo'><a href='$ScriptUrl'><img src='$PageLogoUrl'
     alt='$WikiTitle' border='0' /></a></div>
@@ -24,8 +25,9 @@
         <!--wiki:$Group.SideBar $SiteGroup.SideBar--></td>
 <!--/PageLeftFmt-->
       <td id='wikibody' valign='top'>
+        <div id='wikimaincontent'>
 <!--PageTitleFmt-->
-        <table width='100%' cellspacing='0' cellpadding='0' border='0'><tr>
+        <table id='wikibodynav' width='100%' cellspacing='0' 
cellpadding='0' border='0'><tr>
         <td id='wikititle'>
           <div class='pagegroup'><a href='$ScriptUrl/$Group'>$Group</a> 
/</div>
           <div class='pagetitle'><a href='$PageUrl'>$Title</a></div></td>
@@ -38,6 +40,7 @@
           <a href='$PageUrl?action=edit'
             accesskey='$[ak_edit]'>$[Edit Page]</a></td></tr></table>
 <!--PageText-->
+        </div>
       </td>
     </tr></table>
 <!--PageFooterFmt-->
@@ -50,5 +53,6 @@
       <a href='$ScriptUrl/$[Site/Search]'>$[Search]</a></div>
     <div class='lastmod'>$[Page last modified on $LastModified]</div></div>
 <!--/PageFooterFmt-->
+</div>
 </body>
 </html>





More information about the pmwiki-users mailing list