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

Last change on this file since 11597 was 11597, checked in by kjdon, 18 years ago

reran the xsl for the new format, and modified xsl files. hopefully only small formatting things have changed :-)

  • 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 border="2" bgcolor="#B0D0B0" cellpadding="5" cellspacing="0" width="100%">
8<tr>
9<td align="center" width="15%"><img height="45" src="../gatherer_medium.gif" width="45"></td><td align="center" width="*"><a name="formatstatements"><font face="Verdana" size="5"><strong>6.9: Format Features</strong></font></a></td><td align="center" width="15%"><img height="45" src="../gatherer_medium.gif" width="45"></td>
10</tr>
11</table>
12
13<p>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 links are displayed by the DateList classifier. Format commands are not easy to develop, and you should read Chapter 2 of the Greenstone Developer's Guide. This section discusses the format settings, and how the Librarian Interface gives access to them. Under "Design Sections", click "Format Features".</p>
14<p>You can apply a format command to anything in the "Choose Feature" pull-down list, which includes each classifier and a predefined list of features. When you select a feature, there are two types of control. Some features are simply enabled or disabled, and this is controlled by a checkbox. Others require a format string to be specified. For these there is a pull-down list ("Affected Component") for selecting which part of the feature the string applies to (if necessary), a text area ("HTML Format String") for entering the string, and a selection of predefined "Variables". To insert a variable into the current position in the format string, select it from the pull-down list and click "Insert".</p>
15<p>You can specify a default format for a particular component by selecting the blank feature. This format is then applied to all applicable features unless
16otherwise specified.</p>
17<p>To add a new format command, fill out the information as explained above and click "Add Format". The new format command appears in the list of "Currently Assigned Format Commands". Only one format command can be assigned to each feature/component combination.</p>
18<p>To remove a format command, select it from the list and click "Remove Format".</p>
19<p>To change a format command, select it from the list, modify the settings, and click "Replace Format".</p>
20<p>For more information about variables and the feature components, read Chapter 2 of the Greenstone Developer's Guide.</p>
21<p>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.</p>
22</body>
23</html>
Note: See TracBrowser for help on using the repository browser.