Skip to Content Skip to Menu

[SOLVED] Displaying combined tab contetns in one tab?

  • wintercat
  • wintercat
  • OFFLINE
  • Posts: 2
  • Thanks: 1
  • Karma: 0
9 years 4 months ago - 9 years 4 months ago #266514 by wintercat
In user profile pages, can you somehow group multiple tabs into single tab so when a user clicks the tab it will display contents of multiple tabs? For example, integrating "Contact Info" tab into "Article" tab so when a user clicks "Article" tab, contact info will be shown as well.

I'd like to have them grouped because I neither want contact info to be a separate tab nor displayed all the time.

If such feature doesn't exist, what would be an easy way to implement this?
Last edit: 9 years 4 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 4 months ago #266529 by krileon
Replied by krileon on topic Displaying combined tab contetns in one tab?
Yes that's possible by substituting them into a field. First move those 2 tabs to not shown on profile positions. Next create a new tab that'll hold both tabs. Now create a Custom HTML field and substitute in both tabs using the below substitution format.

[cb:usertab tab="##" user="#displayed" /]

You won't have 2 actual tabs though. They'll just be displayed 1 after another although it is possible to surround them in tab HTML I suppose. Aside from that there's the nested positions.


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.

  • wintercat
  • wintercat
  • OFFLINE
  • Posts: 2
  • Thanks: 1
  • Karma: 0
9 years 4 months ago #266539 by wintercat
Replied by wintercat on topic Displaying combined tab contetns in one tab?
That worked great! Thanks for the help.
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum