• This topic has 36 replies, 3 voices, and was last updated 6 years ago by kiwikiwi.
Viewing 10 posts - 1 through 10 (of 37 total)
Author
Posts
  • #4857

    Got this error when trying to use the contactform

    Parse error: syntax error, unexpected ‘addInlineJavascript’ (T_STRING) in …./webtrees/message.php on line 53

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #4858

    I too got this error after realizing that I forgot to try after install.

    -----
    [updated: 11 Jun 2021]
    MacOS: 10.15.7  (Catalina)
    Safari   14.0.3;  Firefox 89.0
    PHP 7.4 FastCGI

    Alter-Drukarsh connections... 3.3.8 <private>
    The Royals 3.3.8<royals.rbcsolutions.ca
    >
    The Gerrer Rebbes 3.3.8 <royals.rbcsolutions.ca/index.php?ged=rebbes>

  • #4861

    Yes, I see it. Looks like I missed testing the bulk messaging options in admin users.

    The fix is to replace these lines (51-53, in message.php):

    	$controller->
    		pageHeader()
    		addInlineJavascript(‘window.opener.location.reload(); window.close();’);

    with these (just adding a couple of pointers)

    	$controller
    		->pageHeader()
    		->addInlineJavascript(‘window.opener.location.reload(); window.close();’);
    Nigel
    My personal kiwitrees site is www.our-families.info
  • #4863

    Just to confirm, do I include the -> or are they only to insert into this forum? I know to remove the

    
    

    -----
    [updated: 11 Jun 2021]
    MacOS: 10.15.7  (Catalina)
    Safari   14.0.3;  Firefox 89.0
    PHP 7.4 FastCGI

    Alter-Drukarsh connections... 3.3.8 <private>
    The Royals 3.3.8<royals.rbcsolutions.ca
    >
    The Gerrer Rebbes 3.3.8 <royals.rbcsolutions.ca/index.php?ged=rebbes>

  • #4864

    Yes, definitely. They are the change.

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

    my form (royalty site) is looking exactly like older version. Was it to appear per your demo earlier?

    -----
    [updated: 11 Jun 2021]
    MacOS: 10.15.7  (Catalina)
    Safari   14.0.3;  Firefox 89.0
    PHP 7.4 FastCGI

    Alter-Drukarsh connections... 3.3.8 <private>
    The Royals 3.3.8<royals.rbcsolutions.ca
    >
    The Gerrer Rebbes 3.3.8 <royals.rbcsolutions.ca/index.php?ged=rebbes>

  • #4866

    my form (royalty site) is looking exactly like older version. Was it to appear per your demo earlier?

    You haven’t enabled the “contact” menu module. Enable, then under Modules > Menus set its access level.

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

    Modules set contact > show to visitors SAVED
    Menu set contact > show to visitors > SAVED
    empty site cache; empty browser cache
    logged out; deleted cookies
    Home page > contact Site Admin still shows original form

    -----
    [updated: 11 Jun 2021]
    MacOS: 10.15.7  (Catalina)
    Safari   14.0.3;  Firefox 89.0
    PHP 7.4 FastCGI

    Alter-Drukarsh connections... 3.3.8 <private>
    The Royals 3.3.8<royals.rbcsolutions.ca
    >
    The Gerrer Rebbes 3.3.8 <royals.rbcsolutions.ca/index.php?ged=rebbes>

  • #4868

    There’s the problem. That footer link should NOT exist once you enable the new module. Looks like I need to correct code in the xenea theme for that. Temporarily switch to kiwitrees theme to see what I mean.

    Click on “Contact” in the main (top of the page) menus. That is the new feature, not the old link at the bottom.

    Though in your case, because you have the same contact for both Technical and Genealogy it still should not look very different. Just gets rid of the popup. The real differenmce cpmes of you have twp different contacts.

    The point of this module is primarily to allow a Contact link in the main menu instead of in the footer.

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

    PS – I have also seen that the Contact menu item at the top is missing it’s correct icon. I’ve just fixed that as well. I can send you the files if you want, or they will be in the next release (3.1.1).

    Nigel
    My personal kiwitrees site is www.our-families.info
Viewing 10 posts - 1 through 10 (of 37 total)
  • The topic ‘Contact form 3.1.0’ is closed to new replies.