PHP-based navigation with GOPHER

GopherPHP is a simple PHP-based framework for multi-page Web sites with automatic navigation bars, using the GOPHER style sheets and layout templates. Each GopherPHP page is a separate .php file, which includes the library php/gopher.inc and then generates the necessary boilerplate by calling the start_page() and end_page() functions. Click here for a typical page skeleton.

The page structure of a GopherPHP site is defined by a configuration file in XML format (view specification and example).

The general appearance of the site can easily be changed by selecting a different CSS stylesheet in the configuration file, or by allowing users to choose one of the pre-defined GOPHER styles (by clicking on the preferences icon Display Preferences Icon in the top right corner of the navigation bar). Finer control is achieved by editing the templates for page headers and footers, e.g. to display a project logo instead of the title banner at the top of each page (more information).

Other features of GopherPHP include pre-defined functions to generate a simple site map, or to embed the display preferences dialogue in a Web site rather than using the global preferences icon.

About GOPHER

GOPHER is a set of CSS stylesheets for basic single-page and multi-page Web sites. The styles have been designed to give a clean, readable layout and to be compatible with all major Web browsers.[1] They can be used either for static HTML pages or with the GopherPHP templating framework, which enables users to choose between different stylesheets and font sizes. Currently, the GOPHER styles are available with three different font sets (Web, Office, Mac) and two colour schemes (purple and RGB).

Click here for an overview of the GOPHER layout. There are also templates for static HTML pages (single-page layout) and static multi-page sites (default colours, RGB colour scheme).

By the way, GOPHER stands for Good Old Plain HTML for the occasional writER.

[1] Gopher has been tested with recent versions of Firefox, Internet Explorer, Safari, Camino, Konqueror and Lynx ;-) on Microsoft Windows XP, Mac OS X and Ubuntu Linux.