source: trunk/template-extension/yoga/local/README @ 1912

Last change on this file since 1912 was 1912, checked in by rub, 17 years ago

Update svn properties (svn:eol-style and svn:keywords)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 889 bytes
Line 
1If you want to make some template customization without building a brand new
2template, you should use this directory to store yur customized version of the
3official template files rather than editing them on place.
4Doing this, they won't be lost during the next upgrade.
5
6For example, if you want your own header file just copy
7"template/yoga/header.tpl" to this directory with whatever, but significant,
8filename you want.
9Then edit "include/page_header.php" and replace the line :
10  $template->set_filenames(array('header'=>'header.tpl'));
11by
12  $template->set_filenames(array('header'=>'../../template-extension/yoga/local/header.tpl'));
13Or whatever new filename you gave instead of header.tpl
14
15In future version of PWG, you probably won't have to edit the php code, but
16a parameter table instead.
17
18Feel free to ask in the forum for further assistance :
19http://forum.phpwebgallery.net/
Note: See TracBrowser for help on using the repository browser.