Skip to Content Skip to Menu

Will Cb activity accept other triggers that are not custom?

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 8 months ago #288817 by timstohr
Hi kyle, will Cb auto action accept other triggers as long as the Cb api is loaded in the same document? Here is the use case. Do classifieds trigger that is fired when the user saves has been determined (onaftersavead) in Php doc xyz. If I now laod Cb api and then simply tell auto action to listen out for this trigger, then it should in theory work no? The arrays couldn't be transmitted then no? I am trying to find a solution with as little customization to my 30 odd components, that are all compressed and speeded up with my technologies (but which make customization a real pain in the a...) as possible.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49447
  • Thanks: 8467
  • Karma: 1465
8 years 8 months ago #288849 by krileon
CB API only needs to be loaded once. Then you only need to load plugins once. After that point you can fire as many triggers as you want and CB Auto Actions will act on them. This typically is done after the extension has loaded in its APIs. I really don't recommend modifying extensions core files though and encourage users to reach out to developers to at least implement Joomla events, which you can then use to fire a CB event in a custom Joomla system plugin (you can have a single system plugin in this case to handle all your custom event needs).


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.

Moderators: beatnantkrileon
Powered by Kunena Forum