Skip to Content Skip to Menu

Solved / CB Gallery 3.0: Media or Album published or unpublished ?

5 days 17 hours ago #342716 by Toulouzing
There is no visible difference for the owner between a media or album when unpublished. Is there a solution to see if media or album is unpublished ( like a red dot or label...) ?

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 49899
  • Thanks: 8528
  • Karma: 1465
5 days 17 hours ago #342721 by krileon
There's no plans to add a visual for that as it's visible in the dropdown and during edit. However in latest build release I've added a CSS class (the "galleryUnpublished" class) to containers for unpublished albums and media, which you can use to add whatever CSS you'd like to make them stand out however you like (or insert an icon somewhere).


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.

1 hour 40 minutes ago #342761 by Toulouzing
fyi, I have implemented the feature on my site . When a photo or an album are unpublished, a red cross ( or any fontawesome6 icon) is displayed on the image. We used the css class you mentionned. 
MP me if you are interested by the code ( just 1 php line) 

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

Moderators: beatnantkrileon
Powered by Kunena Forum