Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Working with myu own headers & footers
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=43
Page 1 of 1

Author:  Guest [ 16. Sep 2005, 18:57 ]
Post subject:  Working with myu own headers & footers

Can you clarify how to add my own headers and footers to the index using
<php includes> ?

In the config file, I set:
$php_include=false; // change to true
$install_dir = ""; // change to "gallery/" I am using a subdomain or can I ?

I get weird error messages about cant find the cache folder etc.

Author:  TinyWebGallery [ 19. Sep 2005, 12:32 ]
Post subject: 

Hi,

If you only want to include your own header and footer I recommend to use header.htm and footer.htm (see howto 3).

If you want to do a realy include you have to follow the instructions of howto 2.
if you have e.g. the gallery in a subdirectory called gallery you have to include the gallery in your own page with
include "gallery/index.php";

and set
$php_include=true;
$install_dir = "gallery/";

/michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/