This module provides an SVG ancestor fan chart for the webtrees genealogy application.
Requires Webtrees 2.2.
There are several ways to install the module. The method using composer is suitable for experienced users, as a developer you can also use git to get a copy of the repository. For all other users, however, manual installation is recommended.
To manually install the module, perform the following steps:
- Download the latest release of the module.
- Upload the downloaded file to your web server.
- Unzip the package into your
modules_v4
directory. - Rename the folder to
webtrees-fan-chart
If everything was successful, you should see a subdirectory webtrees-fan-chart
with the unpacked content
in the modules_v4
directory.
Then follow the steps described in configuration and usage.
Typically, to install with composer, run the following command from the command line, from the root of your Webtrees installation.
composer require magicsunday/webtrees-fan-chart --update-no-dev
The module will automatically install into the modules_v4
directory of your Webtrees installation.
To remove the module run:
composer remove magicsunday/webtrees-fan-chart --update-no-dev
Then follow the steps described in configuration and usage.
If you are using the development version of Webtrees (main branch), you may also need to install the development version of the module. For this, please use the following command:
composer require magicsunday/webtrees-fan-chart:dev-master --update-no-dev
If you are using git
, you could also clone the current master branch directly into your modules_v4
directory
by calling:
git clone https://github.com/magicsunday/webtrees-fan-chart.git modules_v4/webtrees-fan-chart
Then follow the steps described in configuration and usage.
Go to the control panel (admin section) of your installation and scroll down to the Modules
section. Click
on Charts
(in subsection Genealogy). Enable the Fan chart
custom module (optionally disable the original
installed fan chart module) and save your settings.
At the charts' menu, you will find a new link called Fan chart
. Use the provided configuration options
to adjust the layout of the charts according to your needs.
Right-clicking on an individual opens a tooltip providing more detailed information of the current individual.
To build/update the JavaScript, run the following commands:
nvm install node
npm install
npm run prepare
composer update
composer ci:test
composer ci:test:php:phpstan
composer ci:test:php:lint
composer ci:test:php:rector