Skip to Content Skip to Menu

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

[SOLVED] How to Re-Order GJ tabs?

  • djacouma
  • djacouma
  • OFFLINE
  • Posts: 22
  • Thanks: 1
  • Karma: 0
11 years 9 months ago - 11 years 9 months ago #219050 by djacouma
[SOLVED] How to Re-Order GJ tabs? was created by djacouma
Hi --

Once I have subgroups, my tabs are ordered Groups/Wall/Photo/Video/Events/Users.

Is there a way for me to reorder these?

Really need Walls in first place and ideally, order to default sitewide to

Wall/Users/Groups/Events/File/Photo/Video

Sorry if this is an obvious question, but am new to CB/GJ (well I worked with it 3 years ago for a brief stint) and still going up the learning curve of operating and configuring it...

Many thanks - dj
Last edit: 11 years 9 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #219062 by krileon
Replied by krileon on topic Re: How to Re-Order GJ tabs?
Groups, Users, and Invites can't be ordered without editing the GJ template files. The others provided via Integrations can be moved simply be re-ordering their plugins within CB > Plugin Management. You'll find the tab template file at the below location if you want to move Groups, Users, or Invites.

components/com_comprofiler/plugin/user/plug_cbgroupjive/templates/default/group_main.php


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.

  • djacouma
  • djacouma
  • OFFLINE
  • Posts: 22
  • Thanks: 1
  • Karma: 0
11 years 9 months ago #219121 by djacouma
Replied by djacouma on topic Re: How to Re-Order GJ tabs?
Thanks for getting back to me. So short of editing that file, no way to make Walls always come up first (most critical aspect for me at this stage)? I looked at the file and very unclear as to how I can reorganize it to make Walls first. I see the part when groups is allocated to first tab. Some rough guidance would be great. If not, I'll try and get a more php savvy dev to help me with this one.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago - 11 years 9 months ago #219159 by krileon
Replied by krileon on topic Re: How to Re-Order GJ tabs?
Move the Nested Groups rendering (IF chunk) below the "beforeTabs" rendering. Now move the Wall integration to be ordered first before all other GJ integrations in CB > Plugin Management. That should then put the Wall tab first. You would then have the below Tab ordering.

Integrations
Groups
Users
Invites


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: 11 years 9 months ago by krileon.

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

  • djacouma
  • djacouma
  • OFFLINE
  • Posts: 22
  • Thanks: 1
  • Karma: 0
11 years 9 months ago - 11 years 9 months ago #219184 by djacouma
Replied by djacouma on topic Re: How to Re-Order GJ tabs?
Perfect. Thanks for the excellent guidance. :)

For anyone else reading this thread...

1. Edit components/com_comprofiler/plugin/user/plug_cbgroupjive/templates/default/group_main.php

2. Move the block lines of 40-48 to below line 50

3. Then set the CB Groupjive Wall order to 98 (the others are at 99) and save.

And voila, walls tab comes first
Last edit: 11 years 9 months ago by djacouma.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum