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!

Community builder 2 Groupejive 3: image problem

  • theohope
  • theohope
  • OFFLINE
  • Posts: 57
  • Thanks: 1
  • Karma: 0
7 years 11 months ago #291172 by theohope
the css option seems to be more secure(?)
I 'm not a big expert on css so it would be great to tell me the necessary changes on the css.

Thank you

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
7 years 11 months ago #291178 by krileon
Modifying the template would be best as it won't output the images at all and will reduce the number of requests to your site to retrieve those images. CSS is the easier solution. The below CSS for example will hide logos on the all groups page.

Code:
.cb_template .gjGroups .gjCanvasBoxPhoto { display: none; }

The below for example will hide the canvas on the all groups page.

Code:
.cb_template .gjGroups .gjCanvasBoxBackground { display: none; }


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.

  • theohope
  • theohope
  • OFFLINE
  • Posts: 57
  • Thanks: 1
  • Karma: 0
7 years 11 months ago - 7 years 11 months ago #291207 by theohope
Ok for the css thanks.
So if i want to change the template I understand that i have to copy the default folder but where?
Then you said delete everything i won't change , so precisely which file(s) i need to change (in that folder?) ?

And in the file(s) concerned what change should i make please?

And you said i only keep the index.html and there are two of them :
one here ...template/default/index.html
and one here ...template/default /images/index.hml , so should i keep both of them?

Thank you.
Last edit: 7 years 11 months ago by theohope. Reason: Spelling

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
7 years 11 months ago #291233 by krileon
Please see the below for the location.

www.joomlapolis.com/forum/153-professional-member-support/235951-community-builder-2-groupejive-3-image-problem?limitstart=0#291167

As for what files you need to change it's up to you. If you want to change the group container output for the all groups page you'd modify groups.php. If you want to change the group container as seen inside a category you'd modify category.php. If you want to modify the group container in your profile tab you'd modify tab.php. You shouldn't need the images folder at all as believe the image paths should fallback to default, but it won't hurt to leave the images folder in your template folder.


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.

  • theohope
  • theohope
  • OFFLINE
  • Posts: 57
  • Thanks: 1
  • Karma: 0
7 years 10 months ago #291800 by theohope
I'm not a pro of coding so can you tell me what change i should do in groups.php and categories.php please!

Thank you

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
7 years 10 months ago #291809 by krileon
Search both files for $row->logo( true, true, true ) as that's the function all outputting the logo. Delete the entire div surrounding it. The surrounding div typically has the CSS class gjCanvasBoxPhoto on it.


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