DokuWiki

It's better when it's simple

User Tools

Site Tools


include_hooks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Both sides next revision
include_hooks [2010-10-01 10:57]
Pontiac76 [Available Hooks]
include_hooks [2017-09-30 19:27] (current)
24.206.146.73 very minor typo fix and reword
Line 1: Line 1:
 ====== Include Hooks ====== ====== Include Hooks ======
-Include Hooks - A simple way to add static content to the installation of DokuWiki without writing your own template. You can use them to add to each page of a standard header or logo or a copyright at the bottom of the page. 
  
-The default template DokuWiki searches for files with certain names in the directory lib/tpl/default/ and just include them in the right place on the page. You can include any HTML code within the following list of files.+Include Hooks -- a simple way to add static content to the installation of DokuWiki without writing your own template. You can use them to add to each page of a standard header or logo or a copyright at the bottom of the page. 
 + 
 +The default template DokuWiki searches for files with certain names in the directory ''lib/tpl/default/'' and includes them in the right place on the page. You can include any HTML code within the following list of files.
  
 ===== Available Hooks ===== ===== Available Hooks =====
-All files must be located in the directory ''lib/tpl/default/''+ 
 +All files must be located in the template directory e.g. ''lib/tpl/dokuwiki/''
  
 ^ File Name       ^ Position of included HTML ^ ^ File Name       ^ Position of included HTML ^
Line 15: Line 17:
 | footer.html     | At the very end of the page just before the </body> tag | | footer.html     | At the very end of the page just before the </body> tag |
  
-The distribution includes a sample file DokuWiki ''footer.html'', containing a few buttons and RDF-description of a Creative Commons license.+===== See also =====
  
 +  * [[devel:templates|DokuWiki template development]]
include_hooks.1285923442.txt.gz · Last modified: 2010-10-01 10:57 by Pontiac76