Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

CB Gallery Image age

  • HCAA
  • HCAA
  • OFFLINE
  • Posts: 43
  • Thanks: 2
  • Karma: 0
6 years 10 months ago #302686 by HCAA
CB Gallery Image age was created by HCAA
How can I disable the age display associated with every image that has been posted in each User's Profile as well as in the overall Image Gallery which includes all images posted by the community of users?

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
6 years 10 months ago - 6 years 10 months ago #302712 by krileon
Replied by krileon on topic CB Gallery Image age
You can either use CSS to try and hide them or you can make a copy of the default template folder then delete any files in your copy that you don't intend to change then select it as your template within CB Gallery as this will allow you to customize it however you like. See the below for default template file location.

/components/com_comprofiler/plugin/user/plug_cbgallery/templates/default

You can try the below CSS as I assume you only want to hide the timeago usages.

Code:
.cbGallery .cbDateTimeago, .galleryModal .cbDateTimeago { display: none !important; }


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.
Last edit: 6 years 10 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum