- This topic has 36 replies, 3 voices, and was last updated 8 years, 4 months ago by
kiwi.
Tags: message contactform
-
25th July 2015 at 9:35 am #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 (contain 3 family trees)
-
25th July 2015 at 9:42 am #4858
I too got this error after realizing that I forgot to try after install.
----- [updated: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
25th July 2015 at 11:44 am #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 -
25th July 2015 at 12:53 pm #4863
Just to confirm, do I include the -> or are they only to insert into this forum? I know to remove the
----- [updated: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
25th July 2015 at 12:58 pm #4864
Yes, definitely. They are the change.
Nigel
My personal kiwitrees site is www.our-families.info -
25th July 2015 at 1:09 pm #4865
my form (royalty site) is looking exactly like older version. Was it to appear per your demo earlier?
----- [updated: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
25th July 2015 at 1:13 pm #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 -
25th July 2015 at 1:20 pm #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: 31Aug2023]
Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 - PHP Version 8.1.17 - mySQL 8.1
The Royals |The Kennedys|The Gerrer Rabbis 3.3.12 - PHP Version 8.1.17 - mySQL 8.1 -
25th July 2015 at 1:33 pm #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 -
25th July 2015 at 1:36 pm #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
- The topic ‘Contact form 3.1.0’ is closed to new replies.