Thanks for the suggestions, see below.
Quote:
Originally Posted by Steve M
I noticed 2 things.
First:
PHP Code:
$retvars .= "message:".$vbulletin->GPC['message'].":<br />";
You have that but not registered it for use in the template.
Also I noticed that you don't have this in your file:
PHP Code:
define('GET_EDIT_TEMPLATES', true);
|
sorry, Steve, not true - both are done (line 7 and 45 in the php file)
Quote:
Originally Posted by Steve M
Second:
In your template I notice you have the form pointing to the same file that you are using to fill out this form. Am I mistaken that maybe you didn't give the process form location.
|
this was intended to be a simpe demo of the problem, and the script is designed to return to itself, report what was filled in the message box, and then re-present the editor. So, there's no error with that, and the same issue presents itself in the (much more complex) product code I'm working on.
Quote:
Originally Posted by Steve M
With your submit button, try this instead:
HTML Code:
<input name="submit" class="button" type="submit" id="save" value="submit" />
|
This makes no difference. The message box contents are being correctly picked up in standard editor mode but not in wysiwig mode.