Hello seblod team
I found a solution how to integrate "Address and coordinates" with the "tags" , using tags as cities for Articles, (ads location) ,
need plugins - Address and coordinates , Code Pack
1. Create fields in this settings
city_location { field type: Address and coordinates , Type: Cites, Country:Sweden, City (Field): City
}
City { field type: Dynamic,
table: #__tags ,
Options Name: id,
Options Value: title
}
tag_storage { field type: Code Before store ,
BeforeStore:
if($fields['city']->value){ $city=$fields['city']->text; }
else { $city= "#new#".str_replace(", Sweden", "", $fields['city_location']->value); }
$config['storages']["#__content"] ["tags"][0]=$city;
}
2. Add to siteform or admin form city_location and in hidden position city, tag_storage, art_tags
if have tag select in joomla base, if not match tag automatically added tag in joomla tags
worked fine