Skip to Content Skip to Menu

CB Plugin Developer Resources

16 years 1 month ago #77347 by tomgreever
CB Plugin Developer Resources was created by tomgreever
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...

Please Log in or Create an account to join the conversation.

16 years 1 month ago #77348 by tomgreever
Replied by tomgreever on topic Re:CB Plugin Developer Resources
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?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
16 years 1 month ago #77350 by krileon
Replied by krileon on topic Re:CB Plugin Developer Resources
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.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • beat
  • beat
  • ONLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
16 years 1 month ago #77516 by beat
Replied by beat on topic Re:CB Plugin Developer Resources
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 - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum