Closed (fixed)
Project:
Documentation
Component:
Correction/Clarification
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 May 2006 at 19:16 UTC
Updated:
22 Aug 2009 at 19:02 UTC
Hi, everyone. I have finally gotten a chance to put together a production drupal site, and I've been trying to help out in little ways I can.
I don't really think this deserves its own how to page, but I went through the effort of making a nice list of countries and wanted to share it. I didn't want to post the list of countries inside the book page, so I am submitting an issue. I think this page is a little redundant, with other things in the profile module section.
--------
HOWTO: Create a 'country' profile field
This page describes how to create a 'country' field in your users' profiles, similar to the one on Drupal.org, that lets you easily find users in any country. For Drupal 4.7.
| Comment | File | Size | Author |
|---|---|---|---|
| profile-country-list.txt | 2.72 KB | rivena |
Comments
Comment #1
rivena commentedI must change one line. I forgot to add the %value part. I thought Drupal would append it to the end, but now that I think of it, that would be needlessly limiting:
Page title (required): You must put something here. (Suggested: People who live in %value)
Anisa.
Comment #2
lias commentedThank you Anisa for posting this step by step guide to adding countries to user profiles. It was exactly what I was looking for : )
lsabug
Comment #3
Tresler commentedCreated http://drupal.org/node/118544
Needs weighting and to have the txt file attached.
Comment #4
Tresler commentedDone.
Comment #5
(not verified) commentedComment #6
vmanimaran commentedhi all,
i created a country field(type =>list selection) using profile.module .
How to set a default value in that field,when showing users.
please help me...
Thanks in advance;:-)
Comment #7
Aleksic commentedPlease provide some answer good people I also need "default value" like CHOOSE. Drupal didn`t provide default value for country.
I was read http://drupal.org/node/17540 but I need something simple.
Thanks in advance:)
Comment #8
sinasalek commentedThanks rivena, very helpful.