Load custom location.xx.inc file
| Project: | Location |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi,
I use location to register some french address. In france, we don't only have province field. We have "régions" and "départements". A region contain several départements.
For the website I'm making, the user only need to select regions. ATM, location include file for france work with departments, so I need to load another location.fr.inc file with a list of regions only.
The problem is that I don't know how to load my custom file, I copied and altered location.fr.inc file into my theme folder, I need to load it now, how to do that ?
At the very least, I could copy location module to /sites/my_site/modules folder instead of /sites/all/modules folder, but I would avoid to duplicate a +11MB module and to hack it just for that, so a solution to do that, in a drupal way, without hacking module core is welcome.
thanks
zmove

#1
I am with an international non-profit, and we have the same issues, with a number of french regions and provinces missing. Please help.