8 years ago
1
Topic

Hi there,

I am new on Seblod and still learning all necessary information to make it work for me.

Jomsocial custom fields table have this structure:

I would like to use jomsocial custom fields as seblod custom fields in user type form. For that I created one content type to each jomsocial field with these fields:

user_id

field_id (e.g. the id for user age is 31)

value (the value of jomsocial custom field)

I am using the object user for this content type, and in the storage of these fields I set like this:

    standard>free>field_column

I use this content type as a group field in default Seblod User Content Type, hiding user_id and field_id.

These settings ALMOST worked.

My problem is that seblod is storing user id in the first field in the jomsocial table, and It is an auto increment field.as you can see in the Picture above.

I need Seblod to store user id in the second field of the jomsocial custom fields table, named user_id .

I really don´t know if this is the best way to do It, If someone have a better way please let me know.

Thanks in advance!

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
0
Level 1

Hi,

you will probably want to use Free object, not user. But you can try adding field with standard>free>id storage and live value set to 0. To have uder id in uder_id field jsut set it's live value to user->id.

Get a VIP membership