Skip to Content Skip to Menu

CB User Profile part as joomla module

  • MMDoege
  • MMDoege
  • OFFLINE
  • Posts: 98
  • Thanks: 3
  • Karma: 0
8 years 5 months ago #288490 by MMDoege
CB User Profile part as joomla module was created by MMDoege
Hello,

I'd like to put CB user profile into a specific module position on a joompla page with bootstrap column size of 6.

I have iframed "index.php?option=com_comprofiler&view=userprofile" into CB Content Module and placed it into position with Joomshaper's Page Builder Pro 2 working on Helix 3 framework.

Well, there is some success, but CB renders the whole Joomla Page with all the "dressings" like page navigation bars..

May be this topic has been discussed before but with CB Content Module there might be some new thoughts about this, eg. to substract the profile part from the CB template into CB Content Module.

Any idea? Who has tried this as well?

Thank you.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49129
  • Thanks: 8396
  • Karma: 1460
8 years 5 months ago - 8 years 5 months ago #288500 by krileon
Replied by krileon on topic CB User Profile part as joomla module
Don't recommend using iframes, but using CB Content Module with substitutions to render out specifically whatever content you're wanting. See the below for substitution usage information.

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

If you want a profile canvas box like Connections and Connection Management uses now you could use the below.

Code:
<div class="cbCanvasBox cbCanvasBoxSm img-thumbnail"> <div class="cbCanvasBoxTop bg-muted"> <div class="cbCanvasBoxBackground"> [cb:userfield field="canvas" reason="list" /] </div> <div class="cbCanvasBoxPhoto cbCanvasBoxPhotoLeft text-left"> [cb:userfield field="avatar" reason="list" /] </div> </div> <div class="cbCanvasBoxBottom bg-default"> <div class="cbCanvasBoxRow text-nowrap text-overflow"> [cb:userfield field="formatname" reason="list" /] </div> </div </div>

Ensure CB Content Module is configured to output CBs template CSS or the above won't be styled.


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 5 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum