Skip to Content Skip to Menu

Multiple fields

  • picht
  • picht
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
11 years 3 days ago #235452 by picht
Multiple fields was created by picht
Hi

I need to create about 30-50 fields for my CB members and the only difference is the name

Is there a fast way to do it ?
I can't find a way to doplicate/copy fields

Regards
Picht

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

  • danbo1972
  • danbo1972
  • OFFLINE
  • Posts: 88
  • Thanks: 22
  • Karma: 4
10 years 11 months ago #236135 by danbo1972
Replied by danbo1972 on topic Multiple fields
I think the easiest way to do this would be using phpmyadmin and creating the database fields there.
Create on field that you want the rest to be like.

:woohoo: *******MAKE A BACKUP OF YOUR SITE AND OF YOUR DATABASE******* :sick:

Select in in phpmyadmin and export the field as sql

create the copies of the record and rename them as you need them

Log back into phpmyadmin and import all of the fields.

Nick has a pretty good "How to" demo in the forum somewhere on how to create a new database object. Follow his guidance.

This should work.

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

  • picht
  • picht
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #236142 by picht
Replied by picht on topic Multiple fields
Hi

Thanks.
I did it some days ago, also using phpadmin.

I did the following:
* Created a backup of the site
* Made a full export of the database
* Created one field
* Made a full export of the database
* Compared the 2 files to see where the changes were.

It is not only the fields table that has to be changed. Whe table containing all the profile information also needs changes. If you have radiobuttons, there is a third table that needs additions and finally all the profileinformation needs to have the default values for the new fields set.

This would be so much easier if there was a copy field option ;)

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

Moderators: beatnantkrileon
Powered by Kunena Forum