Hide family link facts (FAMC/FAMS/HUSB/WIFE/CHIL) from Facts & Events tab

Override fact.phtml to add bocken-family-fact class on family link rows,
then hide via CSS. Language-agnostic since it matches GEDCOM tags, not
translated labels. Info remains available in Relatives tab and sidebar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 21:39:45 +01:00
parent 1531c075c4
commit 77f067f8bc
3 changed files with 173 additions and 0 deletions
+1
View File
@@ -432,6 +432,7 @@ class BockenTheme extends AbstractModule implements ModuleCustomInterface, Modul
View::registerCustomView('::modules/place-hierarchy/list', $this->name() . '::modules/place-hierarchy/list');
View::registerCustomView('::lists/individuals-table', $this->name() . '::lists/individuals-table');
View::registerCustomView('::lists/families-table', $this->name() . '::lists/families-table');
View::registerCustomView('::fact', $this->name() . '::fact');
View::registerCustomView('::individual-page-images', $this->name() . '::individual-page-images');
View::registerCustomView('::individual-page-menu', $this->name() . '::individual-page-menu');
View::registerCustomView('::modules/family_nav/sidebar-family', $this->name() . '::modules/family_nav/sidebar-family');