[SOLVED] display complex substitutions with cbcontent

13 years 4 months ago #145361 by krileon
You have the wrong integration. There is CB Queries and CB Query Field. You need CB Query Field as I've said in my earlier post. CB Query Field will output the queries results as a field that can then be used in substitutions.


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 to join the conversation.

13 years 4 months ago #145568 by nrdgalor
yes, that is correct. i did bring down the wrong one. i have now implemented the field successfully, with the correct output to the profile view. Resident : 64.

as for the substitution, cbcontent only shows a blank ouput, not the intended tab.

backend input: [cb:usertab tab="20" user="cb_resident" /]
frontend output: [cb:usertab tab="20" user="64" /]

on the other hand, i can put a field sub and it will output fine:

backend input: [cb:userfield field="cb_resident" /]
frontedn output: 64

Jc

Please Log in to join the conversation.

13 years 4 months ago #145631 by krileon
Sorry, not much more I can advise. Looks like substitutions don't go that deep. Reviewing source doesn't look like you'll be able to do exactly as you're wanting unfortunately.


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 to join the conversation.

13 years 4 months ago #145691 by nrdgalor
oh well, thanks for all your help. i will venture into a custom solution. at least i was able to learn much about this process. once again thanks.

Jc

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.178 seconds

Facebook Twitter LinkedIn