Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


CB Plugin Developer Resources
Date: 2008/10/14 23:50 By: tomgreever Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 18
graphgraph
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...
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB Plugin Developer Resources
Date: 2008/10/14 23:59 By: tomgreever Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 18
graphgraph
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?
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB Plugin Developer Resources
Date: 2008/10/15 00:14 By: krileon Status: CB Doc subscriber  
Karma: 23  
Gold Joomlapolitan

Posts: 227
graphgraph
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
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB Plugin Developer Resources
Date: 2008/10/15 07:03 By: nant Status: Admin  
Karma: 463  
Admin

Posts: 5971
graph
http://www.joomlapolis.com/content/view/1774/37/

http://www.joomlapolis.com/content/view/2008/37/
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login