Single Name Field splits into firstname, middlename, lastname in database

6 years 4 weeks ago #303192 by parcs
Hi,
I set in CB Configuration:
Name style: Single Name Field
Name format: Name Only

With this configuration, user manager shows only a 'name' field, but when I save a new record the single name is split in three different fields into database (firstname, middlename, lastname). I don't understand this behaviour: I need a single name (my db is for organizations) stored in a single field and not split in three. How can I have a single 'name' field in file manager AND in database?

Thank you

Please Log in to join the conversation.

6 years 4 weeks ago #303210 by krileon
Adjust "Name Style" as needed in CB > Configuration > General.


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.

6 years 3 weeks ago #303238 by parcs
Thanks, but it's not helping, I already did as stated in my first post.
I need single name field, and this is how I set in Cofiguration--> General
But when I check database through phpmyadmin the single name is split into three fields.

Example:
In user manager, in Name field, I set "Joomla Community Builder"
What I see in database, though, is:
firstname --> Joomla
middlename --> Community
lastname --> Builder

I was expecting to have everything in a single field, why is split in three?
Thanks

Please Log in to join the conversation.

6 years 3 weeks ago #303260 by krileon
It's always going to split the name for storage in _comprofiler. It's already stored as a single name column in _users, there's no reason for CB to duplicate that in _comprofiler.


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.

Moderators: beatnantkrileon
Time to create page: 0.237 seconds

Facebook Twitter LinkedIn