Welcome to Geeklog Monday, October 14 2019 @ 10:26 pm EDT

Geeklog Forums

Professionalcss_EN theme


antiqueone

Anonymous
I have recently installed the Professionalcss_EN theme on my web site and upgraded to 1.7.1sr1. When sending a message to a user, on selecting "Send Message" I get a pop-up message headed "The page at http://www.historyandnews.co.uk says:" Then in the window a question mark icon followed by a text string which I guess should be Japanese.
I get the same message when logged on and as anonymous. I assume the error comes from the theme.
Can anyone help me fix this problem?

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1381
That comes from the javascript file:

http://www.historyandnews.co.uk/layout/ProfessionalCSS_en/javascript/confirm.js

You could edit this file in your favorite text editor and change the confirmation message

or

you could edit the contactuserform.thtml (in the profiles directory of the theme) and remove the onclick and onkeypress attribute in this line:

PHP Formatted Code
<input type="submit" value="{lang_submit}" onclick="return postconfirm();" onkeypress="return postconfirm();" class="submit"{xhtml}>


so it looks like this:

PHP Formatted Code
<input type="submit" value="{lang_submit}" class="submit"{xhtml}>


Tom
One of the Geeklog Core Developers.

antiqueone

Anonymous
Thanks for the quick fix Tom.

All times are EDT. The time is now 10:26 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content