|
|
Re:CB Helloworld plugin
|
|
Date: 2007/05/20 21:22
|
By: keyboardcowboy
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 4 |   | |
|
Nice, this will get me started of creating an tab to display the ut stats on www.zstclan.org
now i need to read the 400 pages of the hph book
|
|
The administrator has disabled public write access. |
|
|
|
Re:CB Helloworld plugin
|
|
Date: 2007/05/31 16:47
|
By: ziad
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 1 |   | |
|
Just created my first tab plug-in for CB using this tutorial as a base and everything went pretty smoothly.
Thanks for a good tutorial. My plugin is fairly trivial but the procedure is pretty straight forward. 
Ziad
|
|
The administrator has disabled public write access. |
|
|
|
|
Plugin to work on registration page
|
|
Date: 2008/10/17 15:25
|
By: coolguru4ever
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 2 |   | |
|
Hello,
I am new to Community Builder. And I had gone through the Hello World plugin documentation and understood it.
My requirement is a little different than this. I need to build a plugin that posts the user information as an XML file to an external URL through Ajax.
The Ajax code is ready and working as expected.
The only problem that I am facing is, integrating the code with CB to create a plugin.
I need the code to work on the registration page and as soon as the user hits the submit button, the Ajax code should work, which will do the rest.
Here's what I have done till now:
$_PLUGINS->registerFunction( 'onBeforeUserRegistration', 'sendXML', 'sendXMLtab' );
class sendXMLtab extends cbTabHandler { function sendXMLtab() //Constuctor { $this->cbTabHandler(); } function sendXML() { $return = NULL; $params = $this->params; // get parameters (plugin) $is_sendxml_plug_enabled = $params->get('sendXMLPlugEnabled', "1"); if ($is_sendxml_plug_enabled != "0") { $return = "<div align='center' id='studentInfo'> <input type='text' id='studentName' name='studentName'><br/> <input type='button' name='submit' value='Submit' onClick='javascript:requestStudentInfo();'> </div>"; } return $return; }
I'll appreciate any help or advice from my fellow Joomlapolitans.
Regards, Gurpreet
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:CB Helloworld plugin
|
|
Date: 2008/10/30 06:53
|
By: khan_ihsanullah
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 1 |   | |
|
I cann't install hello world plugin. I have received a problem that Error! Could not find a Joomla! XML setup file in the package. Please help me.
|
|
The administrator has disabled public write access. |
|
|