Content Pages Provided In The Package

This page's vital information:

  • Physical location: ./pages/00_Home/Content Pages/Package Pages.html
  • Link here with: <a href="?page=Content Pages/Package Pages">


Visible Pages

i.e. pages that the category / page list will display.
(Note that these pages may be moved / renamed anywhere within the directory structure)

Contact.php
  • Physical location: ./pages/00_Home/Contact.php
  • Link to it with: <a href="?page=Contact">
Purpose

Provides a form based e-mail system that means your e-mail address is never displayed or accessible anywhere on the website. The address (or multiple addresses) is defined in <setup.php>. It incorporates a simple anti-BOT filter to stop SPAMBOTS sending you SPAM.

Note that if you rename "Contact" or move it into a "sub-page" location, then be sure to change $my_contact_page in <setup.php>.

Extra parameters
  • subject (optional) : Lock down the contact subject matter
  • name (optional) : Change the name displayed on the contact form
Example Photo Album.php
  • Physical location: ./pages/00_Home/Example Photo Album.php
  • Link to it with: <a href="?page=Example Photo Album">
Purpose

Provides a simple way to display a directory of photos. Copy and edit the php file to give the album a title, point to the correct directory, give each photo a title and a comment if required.

It automatically generates thumbnails and calls up Image.php to display the full sized photos.

Extra parameters

None.

News.php
  • Physical location: ./pages/News.php
  • Link to it with: <a href="?page=News">
Purpose

Displays the "News" feed.

Extra parameters
  • news_year (optional) : Limit news feed to a particular year.
  • news_month (optional) : Limit news feed to a particular month of that year.
Survey.php
  • Physical location: ./pages/00_Home/Survey.php
  • Link to it with: <a href="?page=Survey">
Purpose

Provides a form based survey that will e-mail you the results of the form posting. Similar to <Contact.php>, your e-mail address is never displayed or accessible anywhere on the website. The address (or multiple addresses) is defined within the file but the default option is to use the definition in <setup.php>. It incorporates a simple anti-BOT filter to stop SPAMBOTS sending you SPAM.

Extra parameters

None.

Hidden Pages

i.e. pages that the category / page list will not display.
(Note that these pages may be moved / renamed anywhere within the directory structure)

Site Map.php
  • Physical location: ./hidden_pages/Site Map.php
  • Link to it with: <a href="?page=Site Map">
Purpose

Displays all visible categories / pages / sub-pages on one page. It may be desirable to have this appear in the category / page list - it's entirely up to you. The default is just to have an entry in the top menu.

Extra parameters

None.

Image.php
  • Physical location: ./hidden_pages/Image.php
  • Link to it with: <a href="?page=Image&amp;src=image.jpg&amp;alt=An Image Of Something">
Purpose

Display an enlarged image in a page of the same style as the rest of the website. See the Orangutan page for an example of it's usage.

Any image files to be displayed must live inside the ./images directory as the <Image.php> will not allow traversing up the directory structure (for security reasons).

Extra parameters
  • src : The path of the image (relative to ./images).
  • alt (optional) : A more human readable title for the image.
Latest Updates.php
  • Physical location: ./hidden_pages/Latest Updates.php
  • Link to it with: <a href="?page=Latest Updates">
Purpose

Display a list of pages updated within the last 14 (default value, but set by the variable $my_news_old_after in <setup.php>) days with the timestamp of the update.

Alternatively, will display all pages with timestamps.

Extra parameters
  • show_all : Will show all pages.
Text Viewer.php
  • Physical location: ./hidden_pages/Text Viewer.php
  • Link to it with: <a href="?page=Text Viewer&amp;src=text_file.txt">
Purpose

Display a text file in a page of the same style as the rest of the website. See template.html and template.php source code view pages as examples.
Note that the default style is to select a wide page for this, so that text can be displayed in a mono-spaced font.

Any text files to be displayed must live inside the ./text_files directory as the <Text Viewer.php> will not allow traversing up the directory structure (for security reasons - if this feature wasn't there, anyone would be able to read your <setup.php> as plain text and see your e-mail address).

Extra parameters
  • src : The path of the text file(relative to ./text_files).
  • mode (optional) : The mode to display - "text" or "code". When displaying "code", line numbers will be added to the left of each line.
Website Stats.php
  • Physical location: ./hidden_pages/Website Stats.php
  • Link to it with: <a href="?page=Website Stats">
Purpose

Display a list of all visible pages and also images viewed with <Image.php>. For each one, show the timestamp of the update and the number of hits each one has had. Also count up for a grand total at the bottom of the page.

Extra parameters
  • sort=n2o : Sort from newest timestamp to oldest.
  • sort=o2n : Sort from oldest timestamp to newest.
  • sort=h2l : Sort from highest hit count to lowest.
  • sort=l2h : Sort from lowest hit count to highest.
  • sort=f2s : Sort from most fresh to most stale (i.e. when viewed).
  • sort=s2f : Sort from most stale to most fresh (i.e. when viewed).



Del.ico.us Digg Facebook Google LinkedIn LiveJournal NewsVine reddit StumbleUpon Twitter
Valid XHTML 1.0 Transitional Valid CSS! [Valid Atom 1.0] [Valid RSS 2.0]
[ Page last updated 21:42 Thu 25th Mar 2010 | viewed 1887 times ]