cbgallery in content

5 years 2 months ago #310629 by ThomasKuels
cbgallery in content was created by ThomasKuels
I want to put a gallery in an article and get problems everything I try out.

If I just put [cbgallery:gallery /] in the content, it works fine.
I even put it in a template-overide in com_content->categoy->blog_item.php
All articles have the gallery-function in it.

BUT:
All gallerys have the button to upload items AND to create albums.
I don't want folders in the articles.

so i changed it to:
[cbgallery:gallery folders="FALSE" /]
now I have no gallery in the content,but "[cbgallery:gallery folders="FALSE"/]" as text.

I tried out:
[cbgallery:view="gallery" folders="FALSE" /]
same as above.


What is the right comment to put a gallery in my content
1) showing pictures related to the article
2) allows adding photos for the author
3) disables the albums

Please Log in to join the conversation.

5 years 2 months ago #310637 by krileon
Replied by krileon on topic cbgallery in content

All articles have the gallery-function in it.

You don't need to use that substitution usage for what you're trying to do. Edit CB Gallery Bot in Extensions > Plugins then review the parameters under the Gallery tab where you can enable article galleries.

I don't want folders in the articles.

The below usage is correct, but you need to be careful when using a WYSIWYG editor as it tends to html encode the string breaking the substitution usage. Specifically the quotes get escaped. Switch to editing the source (usually a View Source button) to stop the editor from doing that.

[cbgallery:gallery folders="false" /]


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.191 seconds