Wikka Documentation : DefaultLayout

HomePage :: Index :: RecentChanges :: Search :: Login/Register

Default layout

See also:
NOTE
This feature is available since:
WikkaWiki 1.2

 

The default theme introduced in Wikka 1.2 is based on the following layout.

  1. <!-- BEGIN DOC OPEN -->
  2. <!DOCTYPE....>
  3. <!-- END DOC OPEN -->
  4. <!-- BEGIN HEAD-->
  5.     <!-- head elements here -->
  6. </head>
  7. <!-- END HEAD -->
  8. <!-- BEGIN BODY -->
  9. <!-- BEGIN PAGE WRAPPER -->
  10.     <div id="page"> <!--wraps the whole content-->
  11. <!-- BEGIN PAGE HEADER -->
  12.         <div id="header"> <!--includes page header elements-->
  13.             <h2>PageTitle</h2>
  14.             <ul id="main_menu"> <!-- See WikkaMenus -->
  15.                 <li>menu item</li>
  16.                 ...
  17.                 <li>menu item</li>
  18.             </ul>
  19.         </div><!-- end div "header" -->
  20. <!-- END PAGE HEADER -->
  21. <!-- BEGIN PAGE CONTENT -->  
  22.         <div id="content"> <!--contains the wiki page body-->
  23.         The quick brown fox jumps over the lazy dog
  24.         The quick brown fox jumps over the lazy dog
  25.         The quick brown fox jumps over the lazy dog
  26.         The quick brown fox jumps over the lazy dog
  27.         The quick brown fox jumps over the lazy dog
  28.         </div><!-- end div "content" -->
  29. <!-- END PAGE CONTENT -->
  30. <!-- BEGIN COMMENT BLOCK -->
  31.         <div id="comments"> <!--wrapper for the comments block-->
  32.             <div id="commentheader">
  33.             </div>
  34.             <div id="commentlist">
  35.                 <div class="comment">
  36.                 </div>
  37.                 <div class="comment">
  38.                 </div>
  39.                 ...
  40.             </div><!-- end div "commentlist" -->
  41.             <div id="commentform">
  42.             </div><!-- end div "commentform" -->
  43.         </div><!-- end div "comments" -->
  44. <!-- END COMMENT BLOCK -->
  45. <!-- BEGIN PAGE FOOTER -->
  46.         <div id="footer"> <!--includes page footer elements-->
  47.             <ul id="options_menu"> <!-- See WikkaMenus -->
  48.                 <li>menu item</li>
  49.                 ...
  50.                 <li>menu item</li>
  51.             </ul>
  52.         </div><!-- end div "footer" -->
  53. <!-- END PAGE FOOTER -->
  54. <!-- BEGIN SYSTEM INFO -->
  55.         <div id="smallprint">
  56.         </div>
  57. <!-- END SYSTEM INFO -->
  58.     </div><!-- end div "page" -->
  59. <!-- END PAGE WRAPPER -->
  60. </body>
  61. <!-- END BODY -->
  62. <!-- BEGIN DOC CLOSE -->
  63. </html>
  64. <!-- END DOC CLOSE -->


Style changes between 1.1.X and 1.2.X

The main layout differences from 1.1.X are the following:
1.1.X1.2Notes
n/a
div#pagenew wrapper introduced in 1.2
div.headerdiv#headerreplaced class with id
n/a
ul#main_menu new style hook introduced in 1.2
div.contentdiv#contentreplaced class with id
div.footerdiv#footerreplaced class with id
n/a
ul#options_menu new style hook introduced in 1.2
n/a
div#commentsnew wrapper introduced in 1.2
div.commentheaderdiv#commentheaderreplaced class with id
div.commentformdiv#commentformreplaced class with id
div.smallprintdiv#smallprintreplaced class with id


CategoryEN
There are no comments on this page.
Creative Common Attribution-ShareAlike License
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0371 seconds