Keyword

Duplcate group of field with field inside

  • Com3elles
  • Com3elles's Avatar Topic Author
  • Offline
  • New Member
More
4 years 4 months ago #176621 by Com3elles
Hello
for now i have a big group of field with more than 50 fields i need to create a new one with 80% of same field
somebody how i can "copy" the master group with all fields ? (mabe via sql)
regards

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

More
4 years 3 months ago #176625 by JoomlaWorks
Replied by JoomlaWorks on topic Duplcate group of field with field inside
I guess K2 needs a batch actions button in the extra fields list... Noted down.

As for copying existing fields, the fastest route is to first create the new Extra Fields Group and then use phpMyAdmin to mark the fields you wish to copy in batches of 10 entries and then simply change the group ID and append or prepend something to each alias.

Even if you run an SQL statement to copy the fields, you'd still have to define which fields to copy, so it still remains a manual process.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Com3elles
  • Com3elles's Avatar Topic Author
  • Offline
  • New Member
More
4 years 3 months ago #176629 by Com3elles
Replied by Com3elles on topic Duplcate group of field with field inside
hi thanks for explain but can you explain more ? (table name etc)

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

More
4 years 3 months ago #176634 by JoomlaWorks
Replied by JoomlaWorks on topic Duplcate group of field with field inside
It's not really hard as they are all prefix with k2_ (after the database tables prefix). The one you're interested in is #__k2_extra_fields and when you select the fields you wish to clone in phpMyAdmin, all the fields will open up for you to easily edit the alias and group ID.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Com3elles
  • Com3elles's Avatar Topic Author
  • Offline
  • New Member
More
4 years 3 months ago #176751 by Com3elles
Replied by Com3elles on topic Duplcate group of field with field inside
ok thanks

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

More
4 years 3 months ago #176760 by JoomlaWorks
Replied by JoomlaWorks on topic Duplcate group of field with field inside
You're welcome.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum