Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.292.012 Times

Profile Location 6.x-1.3

  Date Added: July 02, 2013  |  Visits: 403

Profile Location

Report Broken Link
Printer Friendly Version

Product Homepage
Download (20 downloads)

Profile Location provides dynamic country and state/province dropdowns to the core profile module without the need of CCK-dependent third-party modules such as Node Profile (Drupal 5) or Content Profile (Drupal 6).The state/province dropdown will dynamically show/hide depending on if the value of the country dropdown equals the primary or secondary countries (US and CA).Configuration1) Enable core profile module.2) Install/enable profile_location module.3) Goto to admin/user, select Profiles4) Create a profile list selection field for country:4a) The category can be whatever you want. Exp. Personal4b) Title can also be whatever you want, but you should pick a label that makes sense. Exp. Country4c) Form name should typically correspond with the title using the profile_ prefix. Exp. profile_country4d) The rest of the settings are up to you particularly making the field required and also visible on the registration page. Note you do not have to enter any Selection options, as profile_location will do this automatically.5) Repeat steps 4a-d and create a new list selection field type for state:5a) Use same category as used for country5b) Title should be contextual for both state and province. Exp. State/Province.5c) Same as 4c, only for state. Exp. profile_state5d) Same as 4d6) Goto to admin/user, select Profile location settings7) Select default country selection that appears on the registration (if enabled) or account edit page. Exp. United States8) Select the profile list selection field for both county and state/province.Usage Notes-All profile field settings and entries are respected (weight, visibility, etc.) Only the Selection options are overridden by Profile Location.-If you don't see populated country and state/province dropdowns when creating or editing an existing users profile, you have not defined the Profile Location settings in step 8.Design & Technical NotesThis module was designed first and foremost with North America in mind, namely the United States and Canada. As a result only states and provinces are supported respectively. However many countries all over the world recognize separate parts of their country as states, provinces, regions or territories. If you intend to use this module in another part of the world and would like to change the primary and secondary countries with the corresponding states/provinces/regions/territories, here's how.1) The easier part: in profile_location.module on lines 10 and 11 change the primary and secondary ISO country constant values as desired.2) The trickier part: replace the data in the database table profile_location_state using the format:name: full state/province name. Exp. Alabamaabbrev: 2-letter capitalized state/province abbreviation. Exp. ALiso: 2-letter capitalized iso abbreviation for corresponding country. Exp. USISO data is available from a variety of sources on the web.This module is dependent on a small inline snippet of javascript (jQuery) to perform its show/hide magic and does NOT degrade for users who have javascript disabled in their browser. If degradation is important to you, please do not use this module.Note: it is no longer necessary to create a custom user_profile.tpl.php template file in order to display the full country and state names on the user account view page. The module now does this automatically (via hook_profile_alter).

Requirements: No special requirements
Platforms: PHP
Keyword: Abbreviation Adminuser Capitalized Countries Country Create Dropdowns Field Module Primary Profile Secondary Select Selection Settings State Stateprovince
Users rating: 0/10

License: Freeware Size: 10 KB
Modules  -  Regionally Boxed 1.0
Different costs can be set for different regions (composed of countries and/or states)This module allows you create shipping regions by dividing states of the USA (or other country) in different groups. Each group will then have it's own shipping...
Modules  -  CCK Freetagger 4.7.x-1.x-de
This module creates a free tagging field from any CCK field that can contain a comma separated string value.Instructions:1) Create a view* or some other means of searching via a path argument.2) Configure freetagger. Give it a path with a...
10 KB  
Modules  -  Question Field 6.x-1.0-alpha1
Question Field module can be used to create evaluations, questionnaires, surveys, and anything else you might want for gathering information from users. The module works much like Webform, but uses CCK to create it's fields.Think of the content...
10 KB  
Modules  -  All in one mini-features 6.x-1.2
Mini IntroductionThis module is a concatenation of many little things that I like to have and usually would have to create a "mini-module" to get them to work.The idea is simple: if I wanted to have a Delete tab on my nodes, a second Submit button...
10 KB  
Modules  -  Simplest gmap 6.x-1.x-de
Simple GMaps v2 implementation.Alpha stage.No additional tables in db, uses CCK to store all data.Requirements: CCKOnly one marker per one gmap is possible.This module was created for internal use, for our clients websites, when I was tired of...
10 KB  
Business  -  SSuite Office - MonoBase
Features Available: - Create unlimited databases with unlimited tables, fields, and rows - Access any ODBC compatible database of any size, from 1 Kilobyte to 1 Terabyte - Filter tables instantly - Run SQL statements with the SQL query engine -...
9.32 MB  
Modules  -  Mark-up Snippets 6.x-1.x-de
This module provides a simple select list above the node body field on all node add and edit forms (for users appropriately permissioned) allowing users to pick the name of a saved snippet of mark-up to place in the node body field. It will...
10 KB  
Modules  -  CCK Author Field 5.x-1.x-de
The module allows you to show node author information in a custom format.As it uses the cck userreference field, you can easily change the displayed author and keep the real author information in the uid field of the node table. This is useful if...
10 KB  
Modules  -  Bible Field 6.x-1.0-beta1
The idea behind the Bible Field module is to provide a CCK field that can reference any body of work (not just Bibles) by book, chapter and verse. Below are some features: * The ability to reference a range or single point * A special Views 'range...
10 KB  
Graphics Plugins  -  Vue Pioneer 7.4
Create vast expanses of terrains, add trees, select the best point of view and render hyper-realistic images of your landscapes in moody atmospheres in a few mouse clicks. Vue 7 Pioneer is a great way to learn 3D. It's so easy to use that you'll...
464.34 MB  
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB