Customizing the CREDIT.HTM sample application

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:

  1. Edit the CREDIT.HTM file.
  2. Change or delete the background image specified in the <body> statement on line 11.
  3. Optionally change the background color specified in the <body> statement on line 11.
  4. Change or delete the product image specified in the <img> statement on line 12.
  5. Replace the folder name specified in the <h1> statement on line 15.
  6. Replace the text specified in the <p> statements on lines 17 through 25. Enter general instructions to the user.
  7. 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.
  8. 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.
  9. Replace the value that is specified in the <input> statement on line 31. Specify the name of the folder.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. Modify lines 40 through 43 for the first folder search field:
    1. Type a name for the folder field in the <font> statement.
    2. Replace the value specified in the name field of the <input> statement with the actual folder field name.
    3. Replace the value specified in the value field of the <input> statement with the default search value.
  17. Copy lines 40 through 43 and repeat step 16 for each additional folder search field.
  18. Save your changes and close the text editor.