Customize the CREDIT.HTM sample application
by making a copy of the file for each folder that you want users to
access. Name the file with the same name as the folder.
Procedure
Do the following steps:
- Edit the CREDIT.HTM file.
- Change or delete the background image specified in the <body>
statement on line 11.
- Optionally change the background color specified in the <body>
statement on line 11.
- Change or delete the product image specified in the <img>
statement on line 12.
- Replace the folder name specified in the <h1> statement
on line 15.
- Replace the text specified in the <p> statements
on lines 17 through 25. Enter general instructions to the user.
- Replace the CGI-BIN directory name specified in the <FORM>
statement on line 29. Enter the name of the CGI-BIN directory that
contains the ODWEK programs
and files on the web server.
- Replace the value that is specified in the <input>
statement on line 30. Specify a comma-separated string that contains
the names of the folder display fields.
- Replace the value that is specified in the <input>
statement on line 31. Specify the name of the folder.
- Replace the value that is specified in the <input>
statement on line 33. Specify the maximum number of items to display
in the document list, regardless of the number of items that match
the query.
- Replace the server name that is specified in the <input>
statement on line 35. Specify the name of the Content Manager OnDemand server with which ODWEK is to communicate. The
supplied server name is gunnar.
- If you want to sort items in the document list, verify
the value that is specified in the <input> statement on line
36. Otherwise, delete line 36.
- If you want to sort items in the document list, verify
the value that is specified in the <input> statement on line
37. Otherwise, delete line 37.
- Replace the value that is specified in the <input>
statement on line 38. Specify the Content Manager OnDemand user
ID that has permission to open the folder and access application group
data.
- Optionally change the name of the template file specified
in the <input> statement on line 39. Content Manager OnDemand uses the template file to
generate subsequent web pages. The default template name is template.htm.
- Modify lines 40 through 43 for the first folder
search field:
- Type a name for the folder field in the <font>
statement.
- Replace the value specified in the name field of the <input>
statement with the actual folder field name.
- Replace the value specified in the value field of the <input>
statement with the default search value.
- Copy lines 40 through 43 and repeat step 16 for each additional folder search field.
- Save your changes and close the text editor.