Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[SOLVED] Content of tabs in profile view and profile edit

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8303
  • Karma: 1446
9 years 11 months ago - 9 years 11 months ago #256266 by krileon
For what you're wanting you need to do as instructed above then use the CSS trick to hide the field from Contact Info profile view. There is just no other way. It's not possible to break a fields 2 displays in half without using substitutions. Specifically for your case you need to do the following, exactly.

Canvas Field
Tab: Contact Info
Show on Profile: Yes, 1 Line without Title
Show on Profile Edit: Yes, 1 Line with Title

The above is all you need to do to the canvas field for now.

Custom HTML Field
Description:
Code:
[cb:userfield field="canvas" /]
Tab: Canvas
Show on Profile: Yes, 1 Line without Title
Show on Registration: No
Show on Profile Edit: No

Now add the following CSS to your Joomla template CSS file.

Code:
.cbProfile #cbfr_17 { display: none; }

Below is the results you will get.

Profile View


Note with profile view I excluded the CSS so you can see where the two are. Red is the actual canvas image. Blue is the custom HTML field.

Profile Edit


This approach can be used to reposition any field and allows separate edit and profile view display.


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.
Attachments:
Last edit: 9 years 11 months ago by krileon.
The following user(s) said Thank You: heyai

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

  • heyai
  • heyai
  • OFFLINE
  • Posts: 324
  • Thanks: 79
  • Karma: 24
9 years 11 months ago #256315 by heyai
Thanks for the clarification, Kyle. Works perfectly!

hey-ai - the community for asian guys and non-asian girls

The search bar is your friend, not just decoration!

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

  • startup
  • startup
  • OFFLINE
  • Posts: 113
  • Thanks: 7
  • Karma: 1
  • Add-ons
9 years 11 months ago #256995 by startup
Sorry about delay in getting back. I followed your steps closely and it works exactly like you said. Thank you so much, Kyle!
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