Helping hand from developers to a newbe? Fields

15 years 2 weeks ago #91540 by sonix10
Hi
It's my third day :sick: where I'm trying to find out how to pass a variable say $var_integer created in a plug in (tab) to a cb field which is then showed in user status area?

The field is created by the plug in with xml and I moved it to the status area. The question is how to populate the variable into the field? The value is taken from SQL query from outside cb.

If someone of the experienced plug in developers could just post a code example it would probably help many new guys. The tab plug in it self is clear, but the fields are hard.

I have checked the old dev. doc. and other plugins but I still don't get it.

Thanks in advance for your time :)

Please Log in to join the conversation.

15 years 2 weeks ago #91546 by krileon
Look at cb.core.php that's pretty much all that file contains is fields. You'll have an example of every field type in it. (it's in CBs plugin folder ;) )


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.

15 years 2 weeks ago #91647 by sonix10
Thanks. Now it's working.
Have a nice weekend

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.196 seconds

Facebook Twitter LinkedIn