Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 Next > End >>
Counrty dropdown list...
Date: 2005/12/16 12:56 By: joomladude Status: User  
Karma: -3  
Senior Joomlapolitan

Posts: 74
graphgraph
Hi Guys,
Is there a quick way to create a Country selection dropdown list on registration form without going through the pain of manually adding hundreds of countries, field by field?

I appreciate any help you can give.
TIA,

JD
Click here to see the profile of this user The topic has been locked.

Re:Counrty dropdown list...
Date: 2005/12/16 16:13 By: mikko Status: User  
Karma: 106  
Platinum Joomlapolitan

Posts: 2230
graphgraph
Install phpmyadmin and use that to import a cvs-file that contains all the options. There is no import option in CB because it can be done in a matter of minutes in the DB.

One idea for future development might be to include predefined lists that are used often.

mikko
Click here to see the profile of this user The topic has been locked.

Re:Counrty dropdown list...
Date: 2005/12/17 01:35 By: rick Status: User  
Karma: 43  
Gold Joomlapolitan

Posts: 290
graphgraph
mikko,

I'm not a coder just an avid user. As a coder can you tell me if it is possible to do this as a plug-in. This sounds like it would be an easy plug-in and if so would be kind of cool. Plug-ins that would add Countries, States, Provinces, etc.

What might be even better is a plug-in that would add a file type for a new drop down or just add functionality to the existing dropdown that would add a browse feature to browse to a CSV file. Once submitted it would add all the fields from within CB. I do know that this can all be down from mysql but a lot of users either know nothing about mysql or would rather not get their hands dirty back there.
Rick

Running:
Joomla! 1.0.7 Stable
Community Builder 1.0 rc2
SMF 1.1 RC2
Click here to see the profile of this user The topic has been locked.

Re:Counrty dropdown list...
Date: 2005/12/17 02:48 By: crash777 Status: User  
Karma: 0  
Junior Joomlapolitan

Posts: 37
graphgraph
You could mess up whole databases being in phpmyadmin... I liken it to the Windows Registry and think it really needs to be treated with grave respect. I think a plugin would be a great idea but honestly, it doesn't need to be a CB plugin. it could be a component for all of Joomla. (I know I could find uses for it).
In this case, I am reminded of the "examples" and components in facile forms... kind of like scriptlets ready to use. A special "country" plugin that can be popped in to a tab or the reg form would be great.
Click here to see the profile of this user The topic has been locked.

Re:Counrty dropdown list...
Date: 2005/12/17 04:35 By: joomladude Status: User  
Karma: -3  
Senior Joomlapolitan

Posts: 74
graphgraph
crash777 wrote:

In this case, I am reminded of the "examples" and components in facile forms... kind of like scriptlets ready to use. A special "country" plugin that can be popped in to a tab or the reg form would be great.


That's exactly what I mean. Facilforms is a great example. Also, CB team can add this as a standard option with the installation of the CB which can be turned on-off at admin section. This will save a lot of trail and error time on behalf of all CB users.

I see that this is already implemented at JoomlaPolis's sign-up form. I will appreciate if someone at joomlapolis to post a sample MySQL import file, so I can add it to my site.
Regards,

JD
Click here to see the profile of this user The topic has been locked.

Re:Counrty dropdown list...
Date: 2005/12/17 09:56 By: nant Status: Admin  
Karma: 467  
Admin

Posts: 6232
graph
I just finished and published the article How to populate a CB Field with a Country List. It should help everyone in such matters. Actually, its a nice tutorial.
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The topic has been locked.

<< Start < Prev 1 2 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login