php article software
web based crm software
CMS Utilities
omnistar Quickstart Guide
How to...
omnistar Install
omnistar Upgrade
omnistar Private Label
Admin Menu
omnistar General Settings
omnistar Private Labeling
omnistar User Accounts
omnistar Section Editor (List)
omnistar Section Editor (Edit)
omnistar Field Editor
omnistar Text Field
omnistar Text Box
omnistar Wysiwyg
omnistar Date/Time
omnistar List
omnistar Checkbox
omnistar Upload
omnistar Separator
Viewers
omnistar Viewers
omnistar List Viewer Options
omnistar Page Viewer Options
omnistar Displaying Uploads
omnistar Search Engines
Interactive Presentation

Page Viewer Options

Page Viewers have options at the top you can customize. They look like this:

<!-- STEP1: Load Record List (Paste this above other steps) -->
<?php
require_once "/www/htdocs/cmsAdmin/lib/viewer_functions.php";
$options = array();
$options['tableName'] = 'article';
$options['recordNum'] = '';
$options['where']     = '';
$record = getRecord($options);
?>
<!-- /STEP1: Load Record List -->

All of these settings are automatically generated and generally don't need to be modified. Here's what each of them do.

require_once ".../lib/viewer_functions.php";
     
This tells the viewer where the program is located. The Viewer Generator automatically figures       out the right path. If you move files around on your server you'll need to update this page.

recordNum
     
This is the record number to load. If defaults to the last number in the url (eg:       pageViewer.php?Article_Title_Here-221/).

where
     
If you are comfortable with MySQL this field lets you specify your own custom MySQL WHERE       clause to match a record. If this is set then recordNum is ignored.