Open main menu

Gramps β

Changes

Addon:Historical Context

1,455 bytes added, 04:48, 12 November 2024
m
Configuration options
: #a00000 dark red in screen capture
* Background color items outside lifespan - (#ededed default, light grey) shading
=== File locations ===
==== Event Lists ====
The Historical Context event lists are CSV lists of dated Historical Events (with the semicolon as the delimiter) that are loaded and compared against the lifespan (birth year through death year) of the Active Person.
 
* default_data_v1_0.txt - combined list of historic events
* pandemi_v1_0.txt - list of Pandemic Events (after 1500 CE)
* da_DK_data_v1_0.txt- list of Dansk historical events
* en_US_data_v1_0.txt - list of USA Presidential terms
* uk_UA_data_v1_0.txt - list of Ukrainian historical events
 
If you have created a custom Event file (named <code>custom_v1_0.txt</code>) then those Events will be merged into the list.
 
The format is:
<code>start year;end year;description;URL hotlink</code>
 
For Events that only last one year, enter the same year for both start and end date. When entering a URL from services like wikipedia, remove any language (e.g., <code>en.</code> for english) or platform (e.g., <code>m.</code> for mobile indicator subdomain). This allows wikipedia to adapt to the target machine.
==== configuration options ====
The configuration options are saved independently in the .ini files for the splitbars in each view mode. The gramps.ini file merely has the window position for the undocked gramplet. Since the gramplets can be undocked, you could have several different sets of Events showing at the same time.
 
<pre>
[HistContext]
name=HistContext
height=20
expand=True
detached_width=602
detached_height=496
state=maximized
help_url=Addon:Historical_Context
navtypes=['Person', 'Dashboard']
page=3
</pre>
{{-}}
=== alternative Color Picker ===
[[File:PickAColor-selector-dialog-52.png|left|thumb|250px|"Pick a Color" - palette selector dialog]]
[[File:PickAColor-gradient-dialog-52.png|center|thumb|218px|"Pick a Color" - gradient selector dialog]]
=== Custom ===If you have created a custom Event file (named <code>custom_v1_0.txt</code>) then those Events will be merged into the list.
{{-}}
5,421
edits