Author Topic: static php  (Read 5749 times)

0 Members and 1 Guest are viewing this topic.

Offline Darkman

  • Pre-Newbie
  • Posts: 7
    • View Profile
static php
« on: May 30, 2002, 08:34:55 AM »
I am trying to add a similar page like top.php but with static information, where should i start?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
static php
« Reply #1 on: June 02, 2002, 09:24:13 AM »
Hi,

try this (works only with 1.5 Beta):

Create a new template file (for example about.html) in the templates folder and upload it. Then you can call 4images using this template with "index.php?template=about" where "about" is the template name without the extension.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Darkman

  • Pre-Newbie
  • Posts: 7
    • View Profile
static php
« Reply #2 on: June 04, 2002, 03:22:54 AM »
ah i c, so when i make about.html inside the templates directory, i have to make it look like the other templates html files. and i am assuming that "index.php?template=about will be the link on the main page? do i need to do anything else? like header? or footer? or does the template=about do all this automatically? thanks

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
static php
« Reply #3 on: June 04, 2002, 06:49:44 AM »
Just try it ;)
Best way is to duplicate an exiting template, for example home.html.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Darkman

  • Pre-Newbie
  • Posts: 7
    • View Profile
static php
« Reply #4 on: June 04, 2002, 01:25:54 PM »
YOU ARE A LEGEND JAN! A LEGEND I TELL J00!  :P