About    Download    Order    Support


InnPlanner Reservation Software Videos

About
Download
Order/Prices
Support/Contact
Partner Program
Press Room
Online Help


Recent News

InnPlanner 2010 Released
New faster database engine, more customization features, weekly tariffs, full multi-user work support and much more...

2010 Feb 10

InnPlanner 2010 RC1
InnPlanner 2010 Release Candidate 1 is ready for downloading and testing. You can download it from the "Downloads" section.

2010 Jan 14


Hotel Software Documentation

Creating HTML Frames

Creating HTML Frames

Introduction

This program allows using a web-window instead of the regular controls:

On this figure, you can see that instead of the standard folder list and the folder contents the window displays a Web page specified in the html code. Besides the regular HTML objects (text, links, tables, images, flash, etc.), you can call User Functions to integrate the Web page with a database. For example, by double-clicking on a link you can to some record, run a query, print a report, run a script, etc.

In the current version, you can define the Web content for the following objects:

  • Folder list. Use the View->Advanced menu.
  • Folder content replacement. Select the HTML Content property in folder properties.

Editing HTML content

It is recommended that you use a special Web-page editing program for creating an html page for your database. Once the Web page is created, copy the code between the <body> and </body> tags to the html-content editor window to add it to the database:

Close the editor, and you will see that the Web page you just created appears instead of the content of the folder:

To make the HTML interactive, use Text Formula Editor. With that editor, you can insert values of database variables, call of user function, formulas, constants, etc. to the content. Here we are going to take a look only at the insertion of a user function call in the code; to see the rest - please see the chapter Text Formula Editor.

Adding User Function to HTML content

Before adding a User Function call, we will need to create it with Script Designer. Suppose, we have a user function with the name Run Report and a single parameter report_name. To insert it in the code, click on the HTML UF Link... button:

In the window that appears, select the user function you just created and the parameter value (e.g., "customers"). The following text will be generated:

<!Run Report Unknown block: CUSTOMERS!>Link Text</a>

Replace the Link Text with the text to appear in the user function call link; for example, "Checked-In customers". The call of a user function must be completed with the </a> tag. So, our html code now looks as follows:

In the program, the Web page will appear as follows:

Clicking on the link will call "Run Report" with the parameter "customers".

See Also:

Folder Properties

User Functions

Script Designer




Today"s Poll

What software do use for your inn/b&b/hotel/etc?

Do not use
Inn Planner
Access, Excel
ASSD
Auberge
Digitalrez
Easy Inn Keeping
EnSuite HR
GuestMaster
iMagic HR
Smart FX
Other