Viewing 4 posts - 1 through 4 (of 4 total)
Author
Posts
  • #8871

    Family tree configuration > Facts for new individuals. When you click the edit button, the pop-up window for editing does not show up.

  • #8872

    Strange. It seems only that one on the page is broken – when all “should” use almost the same code 🙁

    There have been too many changes to be able to supply a file change now, but the fix is simple:

    Find this section (it should be lines 1150-1153 or close by) in kiwitrees/admin_trees_config.php:

    <input type="text" id="NEW_QUICK_REQUIRED_FACTS" name="NEW_QUICK_REQUIRED_FACTS" value="<?php echo $QUICK_REQUIRED_FACTS; ?/>" maxlength="255" dir="ltr">
    <span class="input_label right">
    	< ?php echo print_findfact_edit_link('QUICK_REQUIRED_FACTS'); ?>
    </span>
    
    

    Change to this:

    <input type="text" id="NEW_QUICK_REQUIRED_FACTS" name="NEW_QUICK_REQUIRED_FACTS" value="<?php echo get_gedcom_setting(WT_GED_ID, 'QUICK_REQUIRED_FACTS'); ?/>" maxlength="255" dir="ltr">
    <span class="input_label right">
    	< ?php echo print_findfact_edit_link('NEW_QUICK_REQUIRED_FACTS'); ?>
    </span>
    

    EDIT: take care with the above if copy/pasting. It is displaying “< ?php" in one place. Its an automatic adjustment in the code display here. It should not have the space in the middle (after "<"). Check that your code does not have a space there.

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

    Got this warning:Parse error: syntax error, unexpected ‘?’, expecting end of file in C:\xampp\htdocs\kiwitrees\admin_trees_config.php on line 1148

    (WT_GED_ID, ‘QUICK_REQUIRED_FACTS’); ?/>

    The code does only work when I also delete the / after the question mark.

  • #8874

    Yes, you are quite right. It’s always difficult trying to post raw php code on a forum.

    Nigel
    My personal kiwitrees site is www.our-families.info
    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Facts for new individuals’ is closed to new replies.