About | Contact us

 Overview  Setup  Download  Support 

Setup instructions for Online News Site

Copy the files from the zip file "newssubscriber" directory to the internet server that hosts the public site.

Copy the files from the zip file "newseditor" directory to the intranet server on the LAN (local area network) or, if not available, to a web resource.

Log into the news editor system as "admin" with a password of "admin." Select the "Settings" tab. Within the administration area, the admin password is required for each change. Input the following:

  1. The newspaper name and description.
  2. The newspaper news sections and their sort order. Do not include classifieds and other non-news sections that will later form the site menu.
  3. The remote sites URI(s) for the internet server(s) that hosts the public site on the web.
  4. Test connections to remote site(s). If successful, then change the password for remote sites.
  5. For productions systems, change the admin password from "admin" to a unique password.

Add users by their area of responsibility

A person's log in name determines what area of the system they access. Visit the other tabs in the menu to add users for news editing, patron management, advertising management, classified management and menu management.

The public website menu

Select the predefined tab. Enable as appropriate, 1) archive search, 2) calendar, and 3) classified ads. Select the menu tab. Add the other menu items and establish the sort order. Page content can be added and edited later on this page. Calendar events are maintained on the calendar tab.

Files subsequent updates will not overwrite

Besides the databases, in order for subsequent updates to not overwrite customized files, there are files and locations in the newssubscriber directory that later updates will not overwrite.

  1. images/logo.png and other images added to the directory
  2. z/local.css
  3. z/system/configuration.php
  4. z/includes/custom/ and any subdirectories

Testing the system does not require modifying the above files. Production systems will want to modify the files to substitute the organization's logo, color scheme and specific configuration. In a production system, the includes directory should be moved to a location outside the public HTML folders.

Editing the system configuration file

For testing purposes, the configuration file, configuration.php (displayed below), might not require modification. For production systems, the four following edits should be made:

  1. Edit the time zone offset as the number of hours from Greenwich Mean Time. Valid entries are shown as examples.
  2. Edit the location of the includes directory, which should be moved to a location outside the public HTML directory.
  3. Edit the the URI scheme, if needed, either "http" for sites without SSL encryption, or "https" for secured systems, the recommended configuration.
  4. Change "free" to "paid" when a custom paywall secures access to the news for paid subscribers. When set to "paid," as with viewing the news, searching the news archives will require a log in. Viewing classified ads does not require a log in.

// INPUT: Time zone offset from GMT, Greenwich Mean Time
// The following entries are allowed:
// -12 -11 -10 -9 -8 -7 -6 -5 -4.30 -4 -3.30 -3 -2 -1 0
// 1 2 3 3.30 4 5 5.30 5.45 6 6.30 7 8 9 9.30 10 11 12 13
$gmtOffset = '-8';
// INPUT: Path to the includes folder, without trailing /
$includesPath = 'z/includes';
// INPUT: URI scheme, http or https
$uriScheme = 'http';
// INPUT: Free or paid access to news
$freeOrPaid = 'free';

Online News Site on GitHub | About | Contact us