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

Last change on this file since 3133 was 3133, checked in by plg, 16 years ago

merge r3132 from branch 2.0 to trunk

modification: phpwebgallery.net moves to piwigo.org

modification: doc/README_*.txt much simpler with link to piwigo.org for
installation and upgrade guides.

modification: latest_version has changed its path on the website to download
directory.

deletion: doc/ChangeLog was useless and outdated.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
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.