PDA

View Full Version : About pages and other custom pages


AaronGNP
07-07-2005, 08:56 PM
I saw this other pixelpost page and wondered how I can do it:

http://alicia.journeywood.com/photos/index.php?x=about

I want to make an "about" page, but I'm rather clueless on where I need to put the data for an about page (or a "links" page, etc.)

Is there an add-on I need, or is this something I can do "out of the box"?

Thanks again!

AGNP

Connie
07-07-2005, 09:13 PM
Aaron,

to include an about-page, it is very simple:

1) create a page with the about-text
2) store it in the template directory (just to have all pages together)
3) link to that page from your image_html.php

you don't need any code for that, as about is mostly static and "normal html" still works here :wink:

AaronGNP
07-07-2005, 10:11 PM
Aaron,

to include an about-page, it is very simple:

1) create a page with the about-text
2) store it in the template directory (just to have all pages together)
3) link to that page from your image_html.php

you don't need any code for that, as about is mostly static and "normal html" still works here :wink:

Well I KNOW how to link a page, but I want to know how to specifically get the php to call the about page eg. above (index.php?x=about or index.php?x=links).

I can do straight HTML, obviously that is easy, but with the php call I can get my about page and links pages to call up the calendar and thumbnails.

Can I do this with the code that comes with Pixelpost, or will I need an add-on?

Thanks again.

AGNP

riken
07-07-2005, 11:43 PM
To get an about page with the link "http://site.com/index.php?x=about" create a page in your template called "about_template.html"

This works for almost anything, just make the filename "<ANYTHING>_template.html" to have a page that has the URL "http://site.com/index.php?x=<ANYTHING>"

Riken

AaronGNP
07-08-2005, 12:09 AM
Thanks Riken!

AGNP