Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

How to show Tab Description?

  • azjr
  • azjr
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 2
8 years 7 months ago #279901 by azjr
How to show Tab Description? was created by azjr
Hi - maybe this was already asked - I apologize, I can't find the answer: in short, in Invites Tab, I have added few clarifying paragraphs in tab description field - however the description field is not visible to user - how can I make this work? Please advise - thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48456
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #279945 by krileon
Replied by krileon on topic How to show Tab Description?
Tab description shows in profile edit and registration only. It does not show in profile view except for a few plugins which specifically render it in profile view. To show raw text/HTML in profile view you can use a Custom HTML field.


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.

  • azjr
  • azjr
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 2
8 years 7 months ago #279952 by azjr
Replied by azjr on topic How to show Tab Description?
Hi Kyle - thanks for the feedback. The solution you're referring to, would work well if I have a custom tab with other custom fields - then adding custom html field on top would solve this. However - and I should have formulated the question it that way - i.e. what to do with the invites plugin? On its own, it has only the button (+ New Invite) and tabular list of invited friends - what if I need to provide some guidance here? that Invites Tab stands alone on its own and I'm not sure how to change it, unless to hack the plugin and do the modification (thus breaking possibility of updates) - please advise -thanks!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48456
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #279961 by krileon
Replied by krileon on topic How to show Tab Description?
For plugins you should be directly modifying their template files. Plugin tabs often do not permit fields as they break the plugins design and brings into question as to where those fields should even render.

For CB Invites for example to do this you'd create a folder at the below location.

components/com_comprofiler/plugin/user/plug_cbinvites/templates/

So for example you'd have the following.

/components/com_comprofiler/plugin/user/plug_cbinvites/templates/mytemplate

Next you need to copy the below file to your template as follows.

FROM:
components/com_comprofiler/plugin/user/plug_cbinvites/templates/default/tab.php

TO:
components/com_comprofiler/plugin/user/plug_cbinvites/templates/mytemplate/tab.php

Now within CB Invites > Parameters change the template to "mytemplate". You can now edit tab.php in your mytemplate freely without risk of changes being lost on update.


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.

  • azjr
  • azjr
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 2
8 years 6 months ago #280379 by azjr
Replied by azjr on topic How to show Tab Description?
Kyle - just so I do understand it correctly: do I need to install an OVERRIDE of the default template (i.e. mytemplate) (like described here: www.joomlapolis.com/forum/6-news-and-publicity/227459-cb-203-template-css-overrides ) - that is: to create "mytemplate" so that there is an xml file AND THEN I can modify the plugin template, referring it to the 'mytemplate' name ? or is the entire override of default template not necessary?

also - how do I call the description field?
Thanks!

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

  • azjr
  • azjr
  • OFFLINE
  • Posts: 99
  • Thanks: 10
  • Karma: 2
8 years 6 months ago #280380 by azjr
Replied by azjr on topic How to show Tab Description?

krileon wrote: Now within CB Invites > Parameters change the template to "mytemplate". You can now edit tab.php in your mytemplate freely without risk of changes being lost on update.


Kyle - interesting - I missed that part of your reply - that's actually pretty cool to be able to override template on plugin level.

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

Moderators: beatnantkrileon
Powered by Kunena Forum