Skip to Content Skip to Menu

connection with sobi2

  • kenlyle
  • kenlyle
  • OFFLINE
  • Posts: 43
  • Thanks: 1
  • Karma: 3
14 years 4 months ago #135360 by kenlyle
Replied by kenlyle on topic Re:connection with sobi2
I don't mean to hijack the thread, but this is related, I think:

How to link from the Company Name in the CB Users List to the SOBI profile of the company? Maybe there's a SOBI function for that, but would it work outside of SOBI?

Thanks for any guidance.

Ken

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48419
  • Thanks: 8274
  • Karma: 1443
14 years 4 months ago #135396 by krileon
Replied by krileon on topic Re:connection with sobi2
Link? You mean a clickable link? This can be done with a delimiter field. Please see the following substitution.

[code:1]
<span class="cbClicksInside"><a href="URL">[cb_companyname]</a></span>
[/code:1]

Notice the special class added. This allows links to actually be click-able without sending you to the users profile.

Am not sure how you'd need to structure the URL, but the above is certainly how you'd need to structure the delimiter. Of course replace the field name with your actual fields name if is incorrect.

If the field isn't required you many want to add a more complex substitution to ensure the field isn't blank before trying to add such a URL. Please see Tutorials within my signature for further Substitution information.

If more complex evaluation is necessary to create the link then there is no easy approach unfortunately. You'd need to create a new Fieldtype plugin in order to add a field which would do as you're needing.


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.

  • kenlyle
  • kenlyle
  • OFFLINE
  • Posts: 43
  • Thanks: 1
  • Karma: 3
14 years 4 months ago #135414 by kenlyle
Replied by kenlyle on topic Re:connection with sobi2
Thanks.

Yeah, I meant a clickable link, sorry.

I looked in CB List Management, but I don't see how to use a delimiter field in the list.

Meanwhile, I'll also be looking for the code from the SOBI CB plugin, which creates the company (clickable) link in the CB Tab.

Combining this code with the delimeter field should do what I am looking for.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48419
  • Thanks: 8274
  • Karma: 1443
14 years 4 months ago #135447 by krileon
Replied by krileon on topic Re:connection with sobi2

I looked in CB List Management, but I don't see how to use a delimiter field in the list.

Adding a delimiter field to a userlist is done in the same manner any field is added to a userlist. Simply move it to a column of which you prefer. The field of course needs to be on a tab that is published.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum