|
|
CB Plugin Developer Resources
|
|
Date: 2008/10/14 23:50
|
By: tomgreever
|
Status:
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 18 |   | |
|
Is there a standard tutorial or documentation for developing CB plugins?
I have a plugin I'm working on that is working so far (I modified an existing plugin) -- but I need this plugin to have backend/admin configuration options. For instance, the tab paramters in the backend to say: "Show Foo Bar?" and allow the admin to check Yes or No -- so that Foo Bar will show/hide on the tab.
Any direction? Many thanks...
|
|
The administrator has disabled public write access. |
|
|
|
Re:CB Plugin Developer Resources
|
|
Date: 2008/10/14 23:59
|
By: tomgreever
|
Status:
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 18 |   | |
|
Ok, so I see that setting parameters is identical to creating parameters for Joomla extensions. That makes it easy!
but I am still curious. Is there an official tutorial for creating CB plugins?
|
|
The administrator has disabled public write access. |
|
|
|
Re:CB Plugin Developer Resources
|
|
Date: 2008/10/15 00:14
|
By: krileon
|
Status:
|
|
|
Karma: 23  
|
|
Gold Joomlapolitan  | Posts: 227 |   | |
|
Not really tutorials, but there's the documents which you can download.
Nothing is exactly spoon fed. Ya just need to play around with it until you get the hang of it.
I also suggest you use a config file rather then use params as each param is a query. AllMySocials "Where social networks come together" www.allmysocials.com
|
|
The administrator has disabled public write access. |
|
|
|
Re:CB Plugin Developer Resources
|
|
Date: 2008/10/16 18:12
|
By: beat
|
Status: Admin
|
|
|
Karma: 238  
|
|
Admin  | Posts: 3988 |   | |
|
krileon wrote: ... I also suggest you use a config file rather then use params as each param is a query.
Are you sure ? 
CB caches the entries for plugins and tabs, so that params stay in memory, and don't require any extra query. 
So we recommend to store the params using the normal CB way, and not with separate files. Beat - Developer on Community Builder core Team - If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now  - Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
|
|
The administrator has disabled public write access. |
|
|