View Full Version : "About"-page on the pixelpost...
doffer
03-15-2005, 10:25 PM
I've seen a lot of really nice sites built around the great photoblog; pixelpost. What i wonder is how to make an about page.... Is there some kind of addon, or something that i haven't seen, or do I have du make php filen from scratch?
biggest_apple
03-16-2005, 06:23 AM
As far as I know you need to create one from scratch. At least that's what I did.
raminia
03-16-2005, 05:14 PM
deleted!
raminia
03-16-2005, 05:15 PM
there is some scripts in the modification section that enables about page.
but if you want a tip read this:
1)add in the index.php file at about line 64 which reads
switch ($_GET['x']) {
case "":
$tpl = file_get_contents("templates/".$cfgrow['template']."/image_template.html");
break;
case "ref":
$tpl = file_get_contents("templates/".$cfgrow['template']."/referer_template.html");
break;
case "browse":
$tpl = file_get_contents("templates/".$cfgrow['template']."/browse_template.html");
break;
these lines
case "about":
$tpl = file_get_contents("templates/".$cfgrow['template']."/about_template.html");
break;
. Thus the overall will be
switch ($_GET['x']) {
case "":
$tpl = file_get_contents("templates/".$cfgrow['template']."/image_template.html");
break;
case "ref":
$tpl = file_get_contents("templates/".$cfgrow['template']."/referer_template.html");
break;
case "browse":
$tpl = file_get_contents("templates/".$cfgrow['template']."/browse_template.html");
break;
case "about":
$tpl = file_get_contents("templates/".$cfgrow['template']."/about_template.html");
break; }
2) create an template file for about with the name "about_template.html"
and put it in the template folder. you can use Pixelpost tags on this template too.
3) link to this about page in your photoblog by
<a href='index.php?x=about'> About </a> [/code]
doffer
03-17-2005, 08:58 PM
Thanks a bunch!
Realy helped me :) And now, I even know how to make similar ones, so I'm able to make pages for whatever I want to.
Thanks
Anonymous
03-18-2005, 09:38 PM
2) create an template file for about with the name "about_template.html"
and put it in the template folder. you can use Pixelpost tags on this template too.
3) link to this about page in your photoblog by
Code: About ('index.php?x=about')
:oops: Stoopid newbie question: but how do you create a template file? And how do you link it to your photoblog? Gently please... :?
raminia
03-18-2005, 10:09 PM
read FAQ and forum departure hall.
if you use the predefined file names in the predefined organized manner, it will be automatically included.
Anonymous
03-18-2005, 10:18 PM
:) Thanks raminia. I'll do that. :wink:
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.