PDA

View Full Version : About page?


GregWilkerPhoto
12-20-2004, 12:55 AM
I kinda feel bad I keep on starting new topics... but i looked around for awhile before posting this.

I want to add an about page - i know I can make one with out a hitch but I'm having a problem - im not sure but how can i get the <tags> like number of photos <number_of_photos_tag> to show up on my about page? is there a template or something - cause there is a browse etc is there an about tag also that i haven't seen?

:D

pixelpunk
12-20-2004, 07:33 AM
It can be done but you need pixelpost to read the html-file for your about page.
Look near the top of the script and see if you can figure it out quick.

Let me know otherwise and I'll help you.

// punk

GregWilkerPhoto
12-20-2004, 03:21 PM
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;
okay so what i would do is this?
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 "about":
$tpl = file_get_contents("templates/".$cfgrow['template']."/about_template.html");
break;

is this correct?

pixelpunk
12-20-2004, 03:22 PM
Yes, that looks correct :)

// punk

Birdie
01-22-2005, 09:38 PM
Okay, I've done that too, but I don't know how to link to the about page now.

What do I need to do to create a link that will display the about page?

Birdie
01-22-2005, 09:42 PM
Never mind. I think I figured it out.

<a href="index.php?x=about">About</a>.

If anyone knows of a reason why that is wrong please let me know. Otherwise I'll assume it's okay!

Cheers,
Birdie

PS (Is there a place that has a listing of people who are using Pixelpost? Might be nice to see who else is using and compare layouts/designs, etc.)

Rasmus
01-23-2005, 05:09 PM
Hey Birdie

If you hit the 'View all sites'-link at the bottom of the big green "Photoblogs Running Pixelpost" column on the front page, you'll find the listing you're looking for :)

/Rasmus

Anonymous
01-26-2005, 02:41 AM
I already coded this... :)

http://www.pixelpost.org/index.php?x=downloads&details=29

abel
01-26-2005, 06:08 PM
hmmm that looks VERY promising... ill check it out.

nudeyogi
06-17-2006, 02:46 AM
How/where would you do this in version 1.5? Not for the about_template, but for the page_template created by the miniCMS addon... or any new _template for that matter? It looks a bit more complicated...