1 | <html>
|
---|
2 | <head>
|
---|
3 | <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
---|
4 | <title>The Greenstone Librarian Interface - Help Pages</title>
|
---|
5 | </head>
|
---|
6 | <body bgcolor="#E0F0E0">
|
---|
7 | <table width="100%" cellspacing="0" cellpadding="5" bgcolor="#B0D0B0" border="2">
|
---|
8 | <tr>
|
---|
9 | <td width="15%" align="center"><img width="45" src="../gatherer_medium.gif" height="45"></td><td width="*" align="center"><a name="formatstatements"><font size="5" face="Verdana"><strong>6.9: Format Features</strong></font></a></td><td width="15%" align="center"><img width="45" src="../gatherer_medium.gif" height="45"></td>
|
---|
10 | </tr>
|
---|
11 | </table>
|
---|
12 |
|
---|
13 | The web pages you see when using Greenstone are not pre-stored but are generated 'on the fly' as they are needed. Format commands are used to change the appearance of these generated pages. They affect such things as where buttons appear when a document is shown, and what
|
---|
14 | links are displayed by the DateList classifier. Format commands are not easy
|
---|
15 | to develop, and you should read Chapter 2 of the Greenstone Developer's Guide.
|
---|
16 | This section discusses the format settings, and how the Librarian Interface
|
---|
17 | gives access to them. Under "Design Sections", click "Format Features".
|
---|
18 |
|
---|
19 |
|
---|
20 | You can apply a format command to anything in the "Choose Feature" pull-down
|
---|
21 | list, which includes each classifier and a predefined list of features. When
|
---|
22 | you select a feature, there are two types of control. Some features are simply
|
---|
23 | enabled or disabled, and this is controlled by a checkbox. Others require a
|
---|
24 | format string to be specified. For these there is a pull-down list ("Affected
|
---|
25 | Component") for selecting which part of the feature the string applies to
|
---|
26 | (if necessary), a text area ("HTML Format String") for entering the string,
|
---|
27 | and a selection of predefined "Variables". To insert a variable into the
|
---|
28 | current position in the format string, select it from the pull-down list and
|
---|
29 | click "Insert".
|
---|
30 | <p></p>
|
---|
31 | You can specify a default format for a particular component by selecting the
|
---|
32 | blank feature. This format is then applied to all applicable features unless
|
---|
33 | otherwise specified.
|
---|
34 | <p></p>
|
---|
35 | To add a new format command, fill out the information as explained above and
|
---|
36 | click "Add Format". The new format command appears in the list of "Currently
|
---|
37 | Assigned Format Commands". Only one format command can be assigned to each
|
---|
38 | feature/component combination.
|
---|
39 | <p></p>
|
---|
40 | To remove a format command, select it from the list and click "Remove Format".
|
---|
41 | <p></p>
|
---|
42 | To change a format command, select it from the list, modify the settings, and
|
---|
43 | click "Replace Format".
|
---|
44 | <p></p>
|
---|
45 | For more information about variables and the feature components, read Chapter 2
|
---|
46 | of the Greenstone Developer's Guide.
|
---|
47 | <p></p>
|
---|
48 |
|
---|
49 | If the "Allow Extended Options" checkbox is ticked, some advanced formatting options are enabled. The list of features that can be formatted is changed slightly, and more variables are available to be used in the format command, providing greater control over the page layout.
|
---|
50 | </body>
|
---|
51 | </html>
|
---|