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

Last change on this file since 8728 was 3282, checked in by plg, 15 years ago

change: according to topic:15067, svn:keywords property was removed

  • Property svn:eol-style set to LF
File size: 881 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://piwigo.org/forum
Note: See TracBrowser for help on using the repository browser.