• Sign In
    • Forgot your password?
    • Forgot your username?

K2 | The powerful content extension for Joomla! developed by JoomlaWorks

  • home
  • about
  • blog
  • documentation
  • extend K2
  • showcase
  • community
  • demo
The 'de facto' content solution for Joomla professionals!
You are heredocumentation Tips & Tricks How to create country list dropdown field in K2

How to create country list dropdown field in K2

09 March 2013, 14:28 by Mohamed Abdelaziz
in Tips & Tricks
  • Print/PDF
If you need to create a country list in K2 as a dropdown list extra filed, this will take a long time to enter countries one by one in the extra field edit form, this tutorial helps you to create such field in minutes
1- Create a dropdown field and enter only one country.

2- Save the new field.

3- Download the attached filed and extract it.

4- Open phpMyAdmin. 

5- Browse the table #__k2_extra_fields and edit the record of the dropdown field created in step 1.

6- Copy the contents of the extracted file and paste it in the value field.

7- Save.

 
Now you have all countries entered in the dropdown list.

Tags:

  • country list ,
  • dropdown ,
  • extra fields
Tweet

Download Attachments

  • countries.txt.zip
  • Contact us
  • Privacy Policy
  • License
  • K2 Downloads
  • K2 Metrics
  • K2 on GitHub
back to top
Copyright © 2006 - 2025 JoomlaWorks Ltd. All rights reserved. K2 is a joint project by JoomlaWorks & Nuevvo, released under the GNU/GPL license.
Joomla is a registered trademark of Open Source Matters, Inc. K2 is not affiliated with or endorsed by Open Source Matters or the Joomla Project.
designed by Nuevvo