Search Forums
Forums
Kiwitrees on Twitter
    Tags

    family fact, performance, F.A.B., admin, edit menu, missing data, 7.0, cousin tab, chart, Advanced search, html, blocks, customising, xmas, gettext, github, internal messaging, 3.0.0, BAPM, prefix, bug reporting, Histo, cookie, pop-ups, error, version, mobile, duplicates, abbreviate, roadmap, Favourites 3.0.0, 2.0.2, googlemap, illegitimate, research, white screen, title, multiple marriages, beta, person, Georgian, upgrade, 3.2.2, Export/Import, fancy tree view, statistics, bug, webtrees 1.4.4.1, custom modules, ID notes, CHR, seo, tree, HTML block, emigration, colors theme, locked out, Support/Bug Reporting, contact links, .po

    #10215
    kiwi
    kiwi
    Keymaster

    1643 posts

    1. How can I change the default nav tab that is opened on the Sidebar ? Actually for me, it’s the “family_nav” tab wich is open by default on each page, and I would prefer another one. Is there a parameter to change ?

    You can change it. But it’s hard-coded, so don’t forget to change it again each time you upgrade kiwitrees. It’s in the file library\KT\Controller\Individual.php, around line 785:

    // The family navigator should be opened by default
    if ($module->getName() == 'family_nav') {
    	$active = $n;
    }

    2. I would like that the right Sidebar be ajax connected with the Tab content interface in order to display (or hide in css) some Sidebar nav modules in some cases

    For that, you will need to study the jQuery-UI API for both the tabs and the accordion widgets code kiwitrees uses (https://api.jqueryui.com/category/widgets/ ). They have a range of methods and event triggers that should help you. I’m afraid beyond that I’m not able to help with this one.

    Nigel
    My personal kiwitrees site is www.our-families.info