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