Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

A couple of issues im running in to

  • jbukowski
  • jbukowski
  • OFFLINE
  • Posts: 18
  • Thanks: 1
  • Karma: 0
9 years 2 months ago #269299 by jbukowski
A couple of issues im running in to was created by jbukowski
First i need to be able to load multiple photos atone time as opposed to single picture at a time also i dont want any info such as title description or time stamp to show underneath of them how do i disble that

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 2 months ago #269318 by krileon
Replied by krileon on topic A couple of issues im running in to
CB Gallery does not have multi-uploading yet. The only way to get rid of the title, description, and date is to modify the CB Gallery template files below. The best way to do this is copy the default template folder. Delete any files you are not going to modify and edit whatever is needed. Next select your new templatein CB Gallery > Parameters.

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


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.

  • jbukowski
  • jbukowski
  • OFFLINE
  • Posts: 18
  • Thanks: 1
  • Karma: 0
9 years 2 months ago #269371 by jbukowski
Replied by jbukowski on topic A couple of issues im running in to
i still cant seem to find where to get rid of the file name i dont want anything to show under the thumbnail
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 2 months ago #269374 by krileon
Replied by krileon on topic A couple of issues im running in to
You need to edit the template files found in the above directory. Specifically photos are parsed for display in the below template file.

components/com_comprofiler/plugin/user/plug_cbgallery/templates/default/photos.php

Lines 185 - 199 are the HTML for the entire bottom of the container.


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.

  • jbukowski
  • jbukowski
  • OFFLINE
  • Posts: 18
  • Thanks: 1
  • Karma: 0
9 years 2 months ago #269375 by jbukowski
Replied by jbukowski on topic A couple of issues im running in to
thanks ive taken out everything i could think of and the filename is still there Im so stuck

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 2 months ago #269378 by krileon
Replied by krileon on topic A couple of issues im running in to
Taking out the exact lines of code specified above in that specific file does exactly what you're wanting to do. If you copied the default template and are editing your copy then you need to be sure your new template is selected in CB Gallery. The below is what you should have.

IN: components/com_comprofiler/plugin/user/plug_cbgallery/templates/default/photos.php
ON: Lines 181 - 201
FROM:
Code:
$return .= '<div class="galleryContainerInner" style="height: ' . $width . 'px; width: ' . $width . 'px;">' . '<div class="galleryContainerTop" style="height: ' . ( $width - 40 ) . 'px;">' . $logo . '</div>' . '<div class="galleryContainerBottom" style="height: 40px;">' . '<div class="galleryContainerContent">' . '<div class="galleryContainerContentRow text-nowrap text-overflow small">' . '<strong>' . $item . '</strong>' . '</div>' . '<div class="galleryContainerContentRow text-nowrap text-overflow small">' . '<span title="' . htmlspecialchars( $row->get( 'date' ) ) . '">' . cbFormatDate( $row->get( 'date' ), true, (int) $params->get( 'tab_photos_items_time_display', 0 ), $params->get( 'tab_photos_items_date_format', 'M j, Y' ), $params->get( 'tab_photos_items_time_format', ' g:h A' ) ) . '</span>' . ( $row->get( 'description' ) ? '<div class="galleryContainerDescription">' . cbTooltip( 1, $row->get( 'description' ), $title, 400, null, '<span class="fa fa-info-circle text-muted"></span>' ) . '</div>' : null ) . '</div>' . '</div>' . '</div>' . '</div>' . '</div>';
TO:
Code:
$return .= '<div class="galleryContainerInner" style="height: ' . $width . 'px; width: ' . $width . 'px;">' . '<div class="galleryContainerTop" style="height: ' . $width . 'px;">' . $logo . '</div>' . '</div>' . '</div>';


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