Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Integration of Joomla com_content categories in activity streams

  • uwe2023
  • uwe2023
  • OFFLINE
  • Posts: 111
  • Thanks: 20
  • Karma: 2
1 month 1 week ago #339627 by uwe2023
HI,
one part of my project is CB, the other JReviews. JReviews includes plugins to integrate new listings and reviews in CB streams. I tried to create an asset for an JReviews activity stream, e.g. "Recipes". It doesn´t wor. If somebody publishes e.g. a new recipe there is no entry in the recipes stream nor in the recent or profile activity stream.
JReviews uses com_content for its listings. Is there maybe another way to integrate this content in an asset of an activity stream? Maybe with the category ID of Joomla content?
Best regards Uwe

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
1 month 1 week ago #339628 by krileon
Not sure what you mean by integrating com_content categories? Joomla article activity support is built in and only needs to be toggled on in CB Activity > Parameters > Activity > Article. This will create activity with an asset of "article.ARTICLE_ID".

We've no JReviews integration in CB Activity, but am not sure what there's to integrate beyond the original article itself. I'm not sure what their plugin is supposed to be doing, but is maybe for an older release of CB Activity? Adding custom activity to CB Activity can be done relatively easily entirely using template files. See the below for examples as there are examples included to help get you started.

/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/activity/custom/example.php

Asset parsing can also be entirely extended from template files. Examples for this are also included as follows.

Access Checks:
/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/assets/access/example.php
Context URLs:
/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/assets/context/example.php
Dynamic Grouping:
/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/assets/group/example.php
Source Parsing:
/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/assets/source/example.php

Notifications can also be extended from template files. The below example is also included.

/components/com_comprofiler/plugin/user/plug_cbactivity/templates/default/notifications/custom/example.php


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