Question Historical Facts?
- jprause
- Topic Author
- Offline
- Senior Member
Is this available in 2.0 ?
Josef
webhosting:-- webtrees 2.1.18, PHP version 8.1.16, MySQL 8.0.22, test site webtrees 2.1.18
local desktop:-- webtrees 2.1.18, PHP version 8.2.12, MySQL 8.0.28, Apache2 2.4.41, Linux Ubuntu 22.04 64bit
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
There are some built-in modules. e.g US Presidents
These are enabled in the control panel.
It is simple to write a module.
Or just provide the facts, and I can do it.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- jprause
- Topic Author
- Offline
- Senior Member
There were 14 US presidents during my life.
Josef
webhosting:-- webtrees 2.1.18, PHP version 8.1.16, MySQL 8.0.22, test site webtrees 2.1.18
local desktop:-- webtrees 2.1.18, PHP version 8.2.12, MySQL 8.0.28, Apache2 2.4.41, Linux Ubuntu 22.04 64bit
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
You must be much older than you look in your photo
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- jprause
- Topic Author
- Offline
- Senior Member
Josef
webhosting:-- webtrees 2.1.18, PHP version 8.1.16, MySQL 8.0.22, test site webtrees 2.1.18
local desktop:-- webtrees 2.1.18, PHP version 8.2.12, MySQL 8.0.28, Apache2 2.4.41, Linux Ubuntu 22.04 64bit
Please Log in or Create an account to join the conversation.
- jprause
- Topic Author
- Offline
- Senior Member
It can be seen on github.com/jpretired/czech-monarchs-and-presidents
I would appreciate if you find a few minutes spare time to check it.
It works as can be seen e.g. on test.jprodina.cz/tree/tree1/individual/I...%C5%A1%20%C5%A0punda
Thank you
Josef
webhosting:-- webtrees 2.1.18, PHP version 8.1.16, MySQL 8.0.22, test site webtrees 2.1.18
local desktop:-- webtrees 2.1.18, PHP version 8.2.12, MySQL 8.0.28, Apache2 2.4.41, Linux Ubuntu 22.04 64bit
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- jprause
- Topic Author
- Offline
- Senior Member
Josef
webhosting:-- webtrees 2.1.18, PHP version 8.1.16, MySQL 8.0.22, test site webtrees 2.1.18
local desktop:-- webtrees 2.1.18, PHP version 8.2.12, MySQL 8.0.28, Apache2 2.4.41, Linux Ubuntu 22.04 64bit
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
If anybody wants to contribute historic events for their own country, you simply need a list in this format:
github.com/fisharebest/webtrees/blob/2.0...onarchs.php#L59-L106
Please post them on the github issue tracker.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- godzil
- Offline
- New Member
- Posts: 25
I've tried add own version of histo facts like british monarchy placing them on /app/Module but it's not even visible in modules.
Does it must be like Josef did by modules_v4/*name*/module.php? if so i guess there must be some verification mechanism of modules if they are custom or stock?
Regards
Adrian
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
That's correct.
Core modules live in /app/Module
Third-party modules live in /modules_v4
>i guess there must be some verification mechanism of modules if they are custom or stock?
Correct.
There is documentation on how to create a custom module here:
github.com/fisharebest/webtrees/tree/2.0.1/modules_v4
Copy the "minimal example". Add the interface/trait for historic facts. Add your function that lists the facts.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Bogie
- Offline
- Elite Member
- Life is good!
fisharebest wrote: If anybody wants to contribute historic events for their own country, you simply need a list in this format:
github.com/fisharebest/webtrees/blob/2.0...onarchs.php#L59-L106
Does that mean that the NOTE of the former version has gone?
In my facts I made extensive use of those as below.
Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
No. It just means that I didn't use any notes.
It just needs to be a valid GEDCOM fact/event.
--edit--
According to the specs, you can use the following attributes on your events:
TYPE
DATE
PLAC
ADDR
AGNC
RELI
CAUS
NOTE
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Bogie
- Offline
- Elite Member
- Life is good!
Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Please Log in or Create an account to join the conversation.
- Bogie
- Offline
- Elite Member
- Life is good!
fisharebest wrote: Historical facts are now modules.
There are some built-in modules. e.g US Presidents
Which module respectively file contains the US Presidents?
Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
github.com/fisharebest/webtrees/blob/mas...ule/USPresidents.php
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Bogie
- Offline
- Elite Member
- Life is good!
Does it mean there is no language support as in 1.7 anymore and different languages would mean different historical facts modules?
Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
There was no language support for historic events in 1.7
I didn't add language support, because I thought the events would only be of interest locally.
i.e. events in the Czech republic will only be of interest to people who live in that country, and who speak Czech.
It would be a simple change to allow the modules to provide events in different languages. Do you think this is needed?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Bogie
- Offline
- Elite Member
- Life is good!
fisharebest wrote: There was no language support for historic events in 1.7
In 1.7 I had 2 files - histo.de.php and histo.en_US.php. I had all events in both languages and it worked. May be it's been too long for you ?
fisharebest wrote: It would be a simple change to allow the modules to provide events in different languages. Do you think this is needed?
I would say so.
Especially in Europe there were many historic events which were not limited to one language or region or country, i.e. Thirty Years' War or First and Second World War. On the other hand there might be some which were limited.
And what is with ancestors who came from Europe and emigrated to the US. They had events in France or Germany before they settled in the US later on.
Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Please Log in or Create an account to join the conversation.
- rola
- Offline
- Senior Member
- Posts: 280
For example a file with historical evants for Austrian-Hungarian empire is interesting for at least 7 or more countries.
And I have users who cannot speak either Slovak or Hungarian and have ancestors from Slovakia.
Ladislav
Ladislav
webtrees 2.0.24 + ⚶ Vesta modules (from cissee.de/ )
testing webtres 2.1.5 + ⚶ Vesta modules
on PHP Version 7.4.28
Please Log in or Create an account to join the conversation.