Greg Roach

Results 219 comments of Greg Roach

I am (still) completely unable to reproduce this.

Most tree settings have a default value. For the media folder, this is `media/`. In PHP code, we use this default when there is no value in the database. But...

> Or does webtrees lack a nice search option for place and time? Our database structure was inherited from phpGedView, and does not contain such a table/index/structure. We have links...

> Is there any opportunity to do it without an index Of course - but this would involve loading/filtering a (potentially) very large number of records, which will exceed the...

Would it work for you if we had this: ``` if ($record instanceof XXX || $record instanceof YYY || ...) { redirect... } ```

~~How about~~ ~~`if ($record instanceof GedcomRecord && get_class($record) !== GedcomRecord::class) { redirect }`~~ ~~This should handle all sub-classes.~~ No, this wouldn't work. Need more coffee before I start coding :-)

There could be custom record types that we do not know about. I think your original idea using URLs might be better. Something like: ``` if ($record->url() !== $request->url()) {}...

There are two types of relationship. Fixed. e.g. * father, brother = uncle Variable. e.g. father x 9 = 7x great-grandfather parent x 3, sibling, child x 3 = second...

Look here for the English definitions: https://github.com/fisharebest/webtrees/blob/main/app/Module/LanguageEnglishUnitedStates.php

In English, sister-in-law has three meanings husband->sister brother->wife sister->husband->sister You should be clear exactly what relationship you mean.