PDA

View Full Version : Installing code?


jessewarren
12-03-2008, 08:09 AM
Hello,

I have some code (a stat counter) that I want to install on the homepage, however when going through my file manager of my webhost, I can't find out which file is the actual homepage. I thought it would be "index.html" (as predicted by the stat counter people) but that file is actually either blank or listed as "under construction". I am looking for the .html file that represents the front page of www.shenzhenphotos.com. Any ideas?

Thanks for your help!

Jesse

Dennis
12-03-2008, 08:13 AM
Try image_template.html file in your templates folder.

jessewarren
12-03-2008, 08:32 AM
Thanks, this seems to be right. But I wonder why it isn't just the index.html file in the root folder instead? And why this file shows my site as "under construction?" Baffling. Thanks for the help though.

Dennis
12-03-2008, 10:27 AM
Jesse, the pixelpost uses templates which reside in the templates folder. The index.html file in your rootfolder can be removed from the server. This is merely a placeholder, put there by your hosting company.

Since on your server index.php overrules index.html you see your photoblog. However, index.php only combines the template files with the output from the database. All this combined is sent to the browser of the visitor.

In short, if you want to change the appearance, change the template files.

Hope this makes sense.