Ordering of tabs into groups

9 years 2 months ago #210006 by crony
Ordering of tabs into groups was created by crony
Hello,

Could you point the file to modify into the default template of GJ to modify the order of shown tabs ?
I would like to have the wall first for instance, events after...etc...
I did not find that into parameters, so I guess I'll have to change the view.(?)

Thanks !

J! 2.5.6 - CB 1.8.1 - GroupJive 2.5.3

Please Log in to join the conversation.

9 years 2 months ago #210036 by krileon
Replied by krileon on topic Re: Ordering of tabs into groups
You don't modify templates for this. Simply reorder the integrations within CB > Plugin Management and you'll change the order that they're loaded and displayed. For example set the Wall integration to be first and the Wall tab will always display first.


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.
The following user(s) said Thank You: crony

Please Log in to join the conversation.

9 years 2 months ago - 9 years 2 months ago #210043 by crony
Replied by crony on topic Re: Ordering of tabs into groups
Great thanks ! Just one detail, about users and invitations tabs ? (it's okay for me that they are at the end, but just to know)

J! 2.5.6 - CB 1.8.1 - GroupJive 2.5.3

Please Log in to join the conversation.

9 years 2 months ago - 9 years 2 months ago #210053 by krileon
Replied by krileon on topic Re: Ordering of tabs into groups
Users and Invite tabs are hardcoded and are always last, but can be moved by editing the template files.


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 to join the conversation.

8 years 10 months ago #218903 by flocktree
Replied by flocktree on topic Re: Ordering of tabs into groups
How do you put the members tab first. When our members click on a group the first thing they want to see is who is a member of the group.

Please Log in to join the conversation.

8 years 10 months ago #218931 by krileon
Replied by krileon on topic Re: Ordering of tabs into groups
Edit the below template file and move the users tab rendering to be first. There's no tab management like you see in CB so there's no easy way to move the hardcoded tabs.

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

In that file you'll see a IF block containing a call to showUsers. That entire IF block is for users tab. You should be able to just cut and paste it before the IF block calling showNestedGroups and it'd be first.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.208 seconds

Facebook Twitter LinkedIn