Extension talk:Simple Forms

=2009=

Multiple ajax links in one line
I tried to create multiple ajax links in one line, but there are always paragraphs between every link. How can I fix it? my code: | | --193.29.115.50 14:45, 28 October 2008 (UTC)


 * Change in SimpleForms.php entries with

return array($form, 'noparse' => true, 'isHTML' => true); to return $parser->insertStripItem( $form, $parser->mStripState );

and entries with return array($input,'noparse' => true, 'isHTML' => true); to return $parser->insertStripItem( $input, $parser->mStripState ); Cirne 19:09, 11 September 2009 (UTC)

Can't get it to run. Please help!
After install, when I run the script I get:

Warning: Cannot modify header information - headers already sent by (output started at wiki/extensions/SimpleForms.php:1) in wiki/includes/WebResponse.php on line 10

I am using the current version of MediaWiki. 68.56.108.134 17:56, 6 February 2009 (UTC)


 * I changed the permissions on the file to 777. Now I get:

Parse error: syntax error, unexpected T_VARIABLE in wiki/LocalSettings.php on line 160

Query external Database
I use SimpleForms to access some external databases. Currently I am calling some PHP scripts to query MySQL, and show the results on a pop-up new window (target=new). I know nothing about AJAX. I just want to learn how I can dynamically update the wikipage with the query results. Such as putting the results in a specific  without reloading the page. How can I redirect the outputs? Should I write some Javascript to make it happened? Thx!
 * I think that you could consult w3schools.com for more on AJAX and MySQL.. and/or digit in google "AJAX MySQL PHP example"..
 * Bilardi 15:27, 29 September 2009 (UTC)

PHP Warnings in Apache errors.log
Hi, SimpleForms is great, many thanks dude. However, since installing it, now any link I click on in our wiki creates the following warning in our apache erorlog which is cluttering it up a bit:

[Wed Oct 14 10:47:43 2009] [error] [client 192.168.34.133] PHP Warning: Parameter 1 to Language::getMagic expected to be a reference, value given in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\xenosWiki\\includes\\StubObject.php on line 58, referer: http://uklabvm13/xenosWiki/index.php?title=Special:AlfrescoSearch

Removing this from localsettings (i.e. disabling SimpleForms) resovles the isue but ofcourse defeats the point of having the extension:

include( "$IP/extensions/SimpleForms/SimpleForms.php" );
 * SufyaanK 10:53, 14 October 2009 (BST)


 * well, I have got any question.. which are your release about so, mediawiki and simpleform? did simpleform ever works whitout errors? which is it last extension or release that you installed? -- Bilardi 21:53, 14 October 2009 (UTC)