source: trunk/gli/help/en/formatstatements.htm@ 11067

Last change on this file since 11067 was 11067, checked in by mdewsnip, 18 years ago

New HTML help pages from the updated XML document (new text, no contents).

  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
Line 
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
13The 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
14links are displayed by the DateList classifier. Format commands are not easy
15to develop, and you should read Chapter 2 of the Greenstone Developer's Guide.
16This section discusses the format settings, and how the Librarian Interface
17gives access to them. Under "Design Sections", click "Format Features".
18
19
20You can apply a format command to anything in the "Choose Feature" pull-down
21list, which includes each classifier and a predefined list of features. When
22you select a feature, there are two types of control. Some features are simply
23enabled or disabled, and this is controlled by a checkbox. Others require a
24format string to be specified. For these there is a pull-down list ("Affected
25Component") for selecting which part of the feature the string applies to
26(if necessary), a text area ("HTML Format String") for entering the string,
27and a selection of predefined "Variables". To insert a variable into the
28current position in the format string, select it from the pull-down list and
29click "Insert".
30<p></p>
31You can specify a default format for a particular component by selecting the
32blank feature. This format is then applied to all applicable features unless
33otherwise specified.
34<p></p>
35To add a new format command, fill out the information as explained above and
36click "Add Format". The new format command appears in the list of "Currently
37Assigned Format Commands". Only one format command can be assigned to each
38feature/component combination.
39<p></p>
40To remove a format command, select it from the list and click "Remove Format".
41<p></p>
42To change a format command, select it from the list, modify the settings, and
43click "Replace Format".
44<p></p>
45For more information about variables and the feature components, read Chapter 2
46of the Greenstone Developer's Guide.
47<p></p>
48
49If 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>
Note: See TracBrowser for help on using the repository browser.