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

Viewers

You can display content from CMS Builder on your website with "Viewers". Viewers are regular HTML pages with some extra PHP tags that load content from the CMS Builder database. They can easily be adapted to any page design with a bit of HTML knowledge.

Here's how you can quickly create a new viewer:

1. Go to Admin > Section Editors

2. Click "modify" for the menu of your choice

3. Click the "Show PHP Viewer Code" button

4. Copy and paste the generated code into new PHP files as per the instructions on that page

5. Update the HTML in the viewers to suit your site and design

There are two types of viewers:

List Viewers
     These show a list of records from the section (such as news, jobs, events, etc)

Page Viewers
    
These display details from a single record (such as a news article, event details, etc)

Tip: On most web servers, if you name your viewer "index.php" and remove any other index files from your webroot folder (index.html, index.shtml), it will be the default file when people browse to your website.

Displaying Fields

The standard PHP tag that displays a field value looks like this:

<?php echo $record['fieldname'] ?>

Where 'fieldname' is the name of your field. The viewer code generated by CMS Builder has tags for ALL the fields already added so usually all you need to do is move them around and remove the ones you don't want.