Skip to Content Skip to Menu

Using fields from another database table/component

  • Se7eN
  • Se7eN
  • OFFLINE
  • Posts: 12
  • Thanks: 1
  • Karma: 0
6 years 4 months ago #306296 by Se7eN
Hello,

On our website, we use CB for our user profiles.
For a specific group of our users, we have a custom component where we manage attributes for each user of that specific group.
The fields holding these attributes are stored in a table of that other component.

My question is the following: how can I display (some of) those fields in a tab in a user's CB profile?
I need to be able to display some fields as read-only, and I also want to show a few fields that should be editable by the user.

How do I achieve this in CB?
Sorry for the noob questions :)

Thank you in advance for any help/pointers!

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
6 years 4 months ago #306297 by nant

Se7eN wrote: Hello,

On our website, we use CB for our user profiles.
For a specific group of our users, we have a custom component where we manage attributes for each user of that specific group.
The fields holding these attributes are stored in a table of that other component.

My question is the following: how can I display (some of) those fields in a tab in a user's CB profile?
I need to be able to display some fields as read-only, and I also want to show a few fields that should be editable by the user.

How do I achieve this in CB?
Sorry for the noob questions :)

Thank you in advance for any help/pointers!


You will need a Professional membership subscription to get CB Query (lets you create a dynamic database query to get a field value) and maybe CB Auto Action to let you trigger off a CB field and update a value in another database location using an update query.

You will need some basic SQL skills to configure/program this.

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

Moderators: beatnantkrileon
Powered by Kunena Forum