Skip to Content Skip to Menu

Add html field to a specific CB-tab in the profile view

  • sereniteam
  • sereniteam
  • OFFLINE
  • Posts: 246
  • Thanks: 17
  • Karma: 0
8 years 2 weeks ago #290026 by sereniteam
Hi,

I try to set a html field on the right center of an CB profile public view but can't fix it to the appropriate CB-TAB. When fixing it, field appears below the map already automaticly set on the first CB-TAB.

Can you please give me some clue to do so?

See sample bellow and check on the following link

monbilan.cluster013.ovh.net/index.php?option=com_comprofiler&task=userProfile&user=1107&Itemid=475


Many thanks
VB

SereniTeam
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48711
  • Thanks: 8320
  • Karma: 1447
8 years 2 weeks ago - 8 years 2 weeks ago #290051 by krileon
The position to the right only works 1 of 2 ways. Either static or dynamic. Dynamic will only display tabs in the "Canvas Main Right" position if the first tab in the "Canvas Main Middle" position is selected. Static "Canvas Main Right Static" position will always display regardless of the tab selected. There is no functionality for what you're wanting (dynamic based off a specific tab).

The only way to have what you're wanting is probably a Custom HTML field that substitutes in your tabs inside of custom Bootstrap grid usage. Example as follows.

Code:
<div class="row"> <div class="col-sm-8"> [cb:usertab tab="TAB_ID" formatting="divs" /] </div> <div class="col-sm-4"> [cb:usertab tab="TAB_ID" formatting="divs" /] </div> </div>

The above uses tab substitutions as documented below to substitute those tabs into a field.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb

For Bootstrap grid usage information see the below.

getbootstrap.com/css/#grid


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: 8 years 2 weeks ago by krileon.
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