Greg Roach

Results 219 comments of Greg Roach

``` $ cd modules_v4/ $ git clone https://github.com/webtrees/example-module-server-config ``` Works for me. Do you have another copy of the module installed?

We prefer `require` for performance. With `require_once`, PHP must maintain a list of which files have been opened already. The normal logic for webtrees would only initialise the modules once....

> When I clicked the Delete Unused Locations button, webtrees purged 67 locations from my database. Perhaps these were all unused. Perhaps your change ("New York" => "New York State"),...

See #4051 > Blocks on the tree page are stored along with the tree id. If we store a tree-id, then the block will appear on the tree's home page...

This would give you a different "My page" for every tree on the site. Potentially with different blocks in each. Wouldn't that just be too confusing?

> EDIT: Will adding a tree ID automatically cause the block to appear on the tree's home page - not the user's my-page? Correct. The columns `wt_block.gedcom_id` and `wt_block.user_id` are...

It was available in earlier versions, but it did not work. Blocks have the same settings for all trees. This includes the XREF parameter for the tree. So, the block...

This package might also be useful https://opensourcelibs.com/lib/composer-merge-plugin

* If webtrees includes a `composer.json` file, then this file will be overwritten on every update. Thus we cannot use it to specify modules. * For the last 15 years,...

> What do I have to do to convince you to accept these PRs? That you will not be upset if/when I change these internal/implementation details...