Contents

Introduction
Welcome
System requirements
Licensing details
What is the registration
Quick start guide
Using PHPRunner
Working with projects
Navigation bar
Templates
What are templates
Cars
Classified ads
Events
Jobs
Knowledge base
News
Paypal
Real estate
Sporting
Vacation houses
Connecting to the database
Datasource tables
Master-detail relationship between tables
SQL query page
About SQL query designer
Query Designer
SQL
Results
Charts
Creating chart
Chart parameters
Chart appearance
Using SQL to shape chart data
Reports
Creating report and setting parameters
Report totals and layout
Choose pages
Choose fields
Fields order and totals
Miscellaneous settings
Security
Login page
User login settings
Advanced security settings
User group permissions
Dynamic Permissions
Choose theme
Visual Editor
About
Toolbars
Page Elements
Adding PHP code snippet
"View as" settings
"View as" settings: Custom
"Edit as" settings
Validation types
Lookup wizard
Menu builder
Events
Output directory settings
After you are done
FTP upload
FrontPage Publishing
Advanced topics
Events
Predefined actions
Send a simple email
Send an email with new data
Send an email with old data
Save new data in another table
Save old data in another table
Insert a record into another table
Check if a specific record exists
Display a message on the Web page
Redirect to another page
Sample events
Appearance
Add dropdown list box with values for search
Add foldable section
Change cell background color
Change row background color
Disable record editing
Hide controls on Add/Edit pages, based on logged user name
Redirect to details page after master record was added
Show data from master table on detail view/edit/add page
Show pop-up window
Make search button return data only when search value was entered
Database
Before deleting a record check for related records
Select multiple values from checkboxes or a list field and have them appear as individual database entries
Show list of customer orders
Update multiple records on the List page
Update multiple tables
Dynamic SQL query
Record locking
Email
Email selected records
Send an email with updated fields only
Send mass email to all users
Upload
Check size and extension of uploaded files
Rename uploaded files
Upload files to users folders
Misc
Check if start date is ealier than end date
Speed up data entry using events
Save user data in session variables
Implementing 'single sign on' feature
Redirect to user info edit page
Global events
Login page
Before process
Before login
After successful login
After unsuccessful login
Before display
Menu page
Before process
Before display
Register page
Before process
Before registration
After successful registration
After unsuccessful registration
Before display
Change password page
Before process
Before change password
After password changed
Before display
Remind password page
Before process
Before password reminder sent
After password reminder sent
Before display
After application initialized
Table events
Add page
Before process
Before record added
After record added
Before display
Copy page
OnLoad
Edit page
Before process
Before record updated
After record updated
Before SQL query
Before display
List page
Before process
Before record deleted
After record deleted
After group of records deleted
Before SQL query
Before record processed
After record processed
Before display
Printer-friendly page
Before process
Before SQL query
Before record processed
After record processed
Before display
View page
Before process
Before SQL query
Before display
Search page
Before process
Before display
Export page
Before process
Before SQL query
After table initialized
Page life cycle overview
Programming topics
Data Access Layer
Debugging tips
How to control Inline Add/Edit functionality from script
Master-details relationships
PHPRunner session variables
PHPRunner templates
runner_mail function
Template files processing rules (Files.txt)
Template language
Using JOIN SQL queries
Useful links
Publishing PHP application to the remote Web server
Using FTP client to publish PHP pages to the remote Web server
Using FrontPage to publish PHP pages to the remote Web server
Demo Account
What is the Demo Account?
Terms and Conditions
Enterprise Edition
Online report/chart builder
Online report/chart builder v2.0 - Installation notes
Creating web report
Creating web chart
Domain host instructions
Yahoo!
Connecting to MySQL
Configuring FTP
Publishing project via FTP
1&1
Connecting to MySQL
Configuring FTP
Publishing project via FTP
GoDaddy.com
Connecting to MySQL
Configuring FTP
Publishing project via FTP
WebHost4Life.com
Connecting to MySQL
Configuring FTP
Publishing project via FTP
MyHosting.com
Connecting to MySQL
Configuring FTP
Publishing project via FTP
InspiRunner.com
Connecting to MySQL
Configuring FTP
Publishing project via FTP
How to install local web server (XAMPP)
Connect using PHP
AJAX-based Functionality
Multilanguage support
Stylesheets
Rich Text Editor plugins
PDF view settings
Order PHPRunner online

 
Home
PHPRunner 5.1 manual
Prev Page Next Page
 
 

Visual Editor - "View as" settings

 

You can customize your data appearance on the list/view/print pages using formatting options on the "View as" settings dialog. To control the filed appearance on the page click right button over the field and choose Properties. Depending on selected format you will see different box-dialogs.

"View as" formats

Short Date

Long Date

Datetime

Time

Currency

Percent

Hyperlink

Email Hyperlink

File

Image

Phone number

Number

HTML

Checkbox

Custom

Short Date

Dates will be displayed in short format ( 02/17/2003 ).

Long Date

Dates will be displayed in long format ( 17 February 2003 ).

Datetime

Datetime values will be displayed as date and time ( 02/17/2003 14:22:03 ).

Time

Datetime values will be displayed as time ( 14:22:03 ).

Currency

Numeric values like 14000 will be displayed as $14 000.00 ( actual format depends on your system regional settings like currency symbol, decimal symbol etc.).

Percent

Example: 0.38 will be displayed as 38%.

Hyperlink

Choose this format if you store hyperlinks in this database field. Those hyperlinks will be made clickable automatically.

Email Hyperlink

Choose this format if you store email addresses in this database field. It will be converted into mailto HTML code automatically.

File

Available for Text and Binary fields.

Depending on field type (text or binary field) you will be able to choose either URL prefix to folder where files are located or field name that stores filenames.

Here are some examples of URL prefix usage:

images/ - images folder is located in output directory
/images/ - images folder is located under website root
../images/ - images folder is located one level above

http://www.abc.com/images/ - full path to images folder

Note: in most cases URL prefix ends with forward slash.

Mercedes-Benz-CL-500.jpg will be automatically converted into <img src="images/Mercedes-Benz-CL-500.jpg" border=0>

In case of Binary field you need to choose a field that stores filename. This filename is required to set correct file type when you retrieve uploaded file from the database. If you don't choose filename field or leave it empty you will be presented with Open with ... dialog every time you download this file from the database.

Image

Available for Text and Binary fields.

Binary field - if you store images in the database, PHPRunner creates a code that extracts images from database on the fly. Supported image formats are JPEG, GIF and BMP. If you want to display the thumbnail then you should select the appropriate checkbox and choose the field name that holds the thumbnail.

Text field - choose image size and URL prefix similar to View as type File. If you want to display the thumbnail then you should select the appropriate checkbox and choose the thumbnail prefix. For example, if the original image file's name is example.gif and thumbnail file's name is th_example.gif correspondingly then the thumbnail prefix should have the value of "th_".

If you want to display the images using iBox plugin check corresponding checkbox.

More info about iBox plugin here.

Phone number

Formats number as a US phone number. Supports 7-digit or 10-digit numbers (123) 456-7890 or 123-4567.

Number

Choose this format if you like to format this field as number. Two digits after decimal point implied.

HTML

Use this view type when you store formatted HTML code in database field and wish to display this HTML code on the list page.

Checkbox

Use view format to present field value as a checkbox. Works best with the following datatypes:

MS Access: Yes/No field

SQL Server: TINYINT or BIT field

MySQL: TINYINT

Oracle: NUMBER(1)

Custom

Allows formatting field values by adding php code. More info here.

 

 

Converted from CHM to HTML with chm2web Standard 2.83 (unicode)