Subject: Professionalcss_EN theme

Posted on: 09/01/11 06:41am
By: 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?

Re: Professionalcss_EN theme

Posted on: 09/01/11 11:00am
By: Laugh

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

Re: Professionalcss_EN theme

Posted on: 09/01/11 12:45pm
By: Anonymous

Thanks for the quick fix Tom.

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=91739