Changes

Jump to: navigation, search

Addon:Forms Gramplet

45 bytes added, 03:16, 7 October 2019
no edit summary
{{man warn|Before using the forms addons|you need to define the form that describes the information contained within a source.'''<br>See: [[Form_Addons#Configuration|Configuration]]}}
{{man menu|The Forms Gramplet is designed to be added to the bottombar of a [[Gramps_5.1_Wiki_Manual_Gramps_{{Version manual}}_Wiki_Manual_-_Categories#People_Category|person view]]}}.
{{man menu|Before using the forms addons you need to define the form that describes the information contained within a source. See: [[Form_Addons#Configuration|Configuration]]}}
{{man menu|'''Before using the form addons, you need to define the form that describes the information contained within a source.'''}}
To do this you need to edit each {{man label|[[Gramps_5.1_Wiki_Manual_Gramps_{{Version manual}}_Wiki_Manual_-_Entering_and_editing_data:_detailed_-_part_2#Editing_information_about_sources|Source]]}} and add an entry in the {{man label|"Attributes"}} tab. The entry '''must''' have a key of "<code>Form</code>" and a value which is a {{man label|[[Form_Definitions|Code]]}} that uniquely identifies the form to be used eg: <code>UK1841</code>
{{man tip| Translated Gramps |2=If you are using Gramps in a language other than English, enter the translated version of the key (e.g. In French, "<code>Formulaire</code>" instead of "<code>Form</code>").}}
If a form you require is not in the list of supported [[Form Definitions|definitions]] then you can write your own.
Form definitions are stored in XML files. These are located in the Form directory beneath your [[Gramps_5.1_Wiki_Manual_Gramps_{{Version manual}}_Wiki_Manual_-_User_Directory|user plugins directory]]. The file called <code>form_xx.xml</code>(where ''xx'' is a country code), is provided in the download, and contains some common definitions. Additional files called <code>custom.xml</code> and <code>test.xml</code> will also be searched.
Definition files consist of an XML declaration followed by a <code>forms</code> element.

Navigation menu