DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

codex:template

template

Returns a path relative to the current templates directory. Uses default template directory /lib/tpl/dokuwiki/ if it doesn't exist. Note: If it doesn't exist at all, it will still return a path to the default template directory.


Usage

template($file)


Parameters

$file (STRING) The name of a file within the current templates directory.
Default: None


Examples

include template('functions.php');
include template('lib/helpers.php');

Change Log


Source File


Resources


This page is incomplete, why not fill in a section?

codex/template.txt · Last modified: 2014-04-23 15:05 by 187.115.132.90