Skip to Content Skip to Menu

CB Gallery content syntax

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 192
  • Thanks: 25
  • Karma: 2
4 years 3 weeks ago - 4 years 3 weeks ago #321227 by kdave321
CB Gallery content syntax was created by kdave321
RE: www.joomlapolis.com/forum/single-add-on-support/236076-plugin-content-cb-gallery?start=6#321227

I see the ticket was resolved and closed. Does that mean the syntax -

[cbgallery:gallery item="MEDIA_ID_HERE" /]

- should work now, or is there another way to do this?
Last edit: 4 years 3 weeks ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
4 years 3 weeks ago #321234 by krileon
Replied by krileon on topic CB Gallery content syntax
The syntax to output a single media item without the modal window, etc.. is as follows.

[cbgallery:item id="MEDIA_ID_HERE" /]

This works anywhere that Joomla content plugins are supported. Note media output is subject to permission checks so if the viewing user doesn't have permission to view whatever media you're trying to load in then it won't display.


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.

  • kdave321
  • kdave321
  • ONLINE
  • Posts: 192
  • Thanks: 25
  • Karma: 2
4 years 3 weeks ago #321250 by kdave321
Replied by kdave321 on topic CB Gallery content syntax
Thanks, works great. Any options or parameters? What if I wanted to say?

"Member Name" "Title" "Description"
-- and the gallery item here ---

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
4 years 3 weeks ago #321252 by krileon
Replied by krileon on topic CB Gallery content syntax
There's no substitution usage at this time for pulling a gallery entries title or description.


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