Skip to Content Skip to Menu

CB Gallery — Activity

  • Latypov
  • Latypov
  • ONLINE
  • Posts: 38
  • Thanks: 3
  • Karma: 0
23 hours 22 minutes ago - 23 hours 21 minutes ago #344776 by Latypov
CB Gallery — Activity was created by Latypov
Hi. Please help me figure out how to create a module for the gallery. I want the module to display all the photos that are added to the activity feed. All users should be able to see these photos.
I created the module and selected the gallery — CB Activity — Activity (screen‑01). I didn’t configure this gallery. It was already set up by default. As a result, no photos are displayed in the module.
I wanted to create a link in the menu to the CB Gallery — Activity (screen‑02) gallery. An error appears on the website — Not authorized.
Probably, the gallery that was configured incorrectly by default.
Maybe you could implement import and export of settings in JSON format in the backend. Many developers do this, and it’s very convenient. I’m still just studying your component. Later, on a working project, it will be very difficult for me to transfer all my settings. If there were export and import, I could quickly set up my website. This would also be useful for you. For example, you could export configured plugins for various scenarios and make them available to everyone. It was easy to understand the logic behind the settings based on your working configurations.
Attachments:
Last edit: 23 hours 21 minutes ago by Latypov.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50820
  • Thanks: 8707
  • Karma: 1475
15 hours 22 minutes ago #344782 by krileon
Replied by krileon on topic CB Gallery — Activity
The CB Activity gallery is meant for including in activity streams in CB Activity. It can't be rendered externally. For your use case I'd use the Media mode, which is a raw media display mode and can render from any gallery. The below should do what you're wanting.

Module: CB Gallery
Mode: Media
From Assets: activity.%
From Types: Photos

This for example would show all photos shared in activity posts.

Maybe you could implement import and export of settings in JSON format in the backend. Many developers do this, and it’s very convenient. I’m still just studying your component. Later, on a working project, it will be very difficult for me to transfer all my settings. If there were export and import, I could quickly set up my website. This would also be useful for you. For example, you could export configured plugins for various scenarios and make them available to everyone. It was easy to understand the logic behind the settings based on your working configurations.

You should be able to just export the database tables and import them into your new site. That's always going to be the best approach for moving data. Will review enabling the import/export features for the galleries view though in a future release.

forge.joomlapolis.com/issues/9981


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.

  • Latypov
  • Latypov
  • ONLINE
  • Posts: 38
  • Thanks: 3
  • Karma: 0
13 hours 46 minutes ago #344783 by Latypov
Replied by Latypov on topic CB Gallery — Activity
The module turned out to be done. And how do I make a menu item with a link to all albums of all users and all groups?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50820
  • Thanks: 8707
  • Karma: 1475
13 hours 23 minutes ago #344784 by krileon
Replied by krileon on topic CB Gallery — Activity
You can either create a new gallery that's configured to display whatever you like in CB Gallery > Galleries then link to that new gallery or you can embed a CB Gallery Module into a Joomla article and link to that article. Just depends on what kind of features you're wanting since you can't upload from Media mode gallery modules.


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.

  • Latypov
  • Latypov
  • ONLINE
  • Posts: 38
  • Thanks: 3
  • Karma: 0
13 hours 15 minutes ago #344785 by Latypov
Replied by Latypov on topic CB Gallery — Activity
I need to make a new gallery with all the photos displayed. I do not know how to set up Assets

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50820
  • Thanks: 8707
  • Karma: 1475
13 hours 4 minutes ago #344786 by krileon
Replied by krileon on topic CB Gallery — Activity
There's a full description of how asset works including examples directly below the parameter. I recommend giving that a read then giving it a try. If you're still having issues describe exactly what media you want displayed and from where exactly and I can provide an example configuration.


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: beat, nant, krileon
Powered by Kunena Forum