Adding a New Skin

To add a new skin to an application, go to the Application record and then drilldown to 'Skins'. Click 'Create New' to add a new skin.

The new skin form allows you to upload the template files for various aspects of your WorkflowFirst application. The first two fields let you put in a full name (eg. 'Flash Interface', and then a platform ID which should be short and must not contain spaces. The platform ID is what you set the platform value to in the URL.

To replace the default skin for the application, just leave the platform ID as blank.

The template file fields are described below: 

  • Master : The master template holds the overall site design, including the logo at the top and the area for the actions and reports on the side. Look at the 'dbf.htm' file for an example. 

  • Styles : This is the CSS styles file that will be used by the templates. Look at the 'styles.css' file for an example.

  • Record : This is the template for viewing or editing an individual record. Look at rectemplate.htm for an example. Note: The record template is only used if you are using the default master template, as this contains an include tag to incorporate the record template. 

  • Data List: This is the template for viewing a list of records. Look at datascreen.inc for an example. Note: The data list template is only used if you are using the default master template, as this contains an include tag to incorporate the data list template.

  • Dropdown : This is the template that is used to display dropdown lists, such as when you are selecting a record from another part of the database. Look at dropdown.htm for an example. 

  • Error : This is the template that is used to display errors. Look at error.htm for an example. 

  • Login : this is the template that is used for logging into the system. Look at login.htm for an example. 

  • Search Input : This is the template that is used for entering search terms and locating records by their ID. Look at searchinput.htm for an example. 

  • Search Results : This is the template that is used to display search results. Look at srchres.htm for an example. 

  • Web Mode Master Page : This is the template that is used to control the master template for web-mode pages. This is discussed in more detail here

  • Web Mode Login Page : This is the template for logging in to a web mode application. It is identical to the regular login template, but can be customized to fit the theme of the web mode application. 

There is also a section for entering any notes related to this skin. These are not displayed to the user. 

Any one of these files can be uploaded, but the rest can be left blank and the default will be used. This may be useful, for example, if you only want to replace the dropdown template but not the other items. You can also just replace the master page and leave all of the records, dropdowns and list templates as their default files. For consistency it may be better to replace all of the files however.


Next Topic:
v4.2.0.956 (beta)
Up Since 2/29/2024 12:02:23 AM