By David on Tuesday, 28 October 2014
Replies 1
Likes 0
Views 1K
Votes 0
I was wandering how to use file as data source for address or country filed. So I've searched this forum and your documentation (not much there about this) and found this, in one of your replies:

"The location field allows you to choose locations based on a file (Which we have added into EasySocial but it's hardcoded with its own list of country / states)."


Why you wont allow us to enter own data file for country AND/OR address field?

I understand that Regions functionality will suite most ES administrators, however there might be situations where we need to use address filed with data from regions and have additional address filed with different list of locations at the same time. So heaving option to use own file as data source (per each field) would solve this problem and added extra flexibility.

For now my question is: is it safe to overwrite your "radcoded" data file with different list of locations and use it on production site?
Hi,

We will see if we can implement separate source in the future.

You can safely edit the file, which is at /administrator/components/com_easysocial/defaults/countries.json

Please take note though:
1. This file will be overriden on subsequent updates
2. This will apply to other field that uses this as source
·
Tuesday, 28 October 2014 16:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post