
By engin on
I need to add location field to profile. So that any user could filter posts from the same location.
I would appreciate any suggestions regarding to how to add fields to user's profile.
I need to add location field to profile. So that any user could filter posts from the same location.
I would appreciate any suggestions regarding to how to add fields to user's profile.
Comments
Not sure what's available for
Not sure what's available for Drupal 8. In Drupal 7 I would start with the address module and probably add a geofield.
Go to /admin/config/people
Go to /admin/config/people/accounts/fields and you can add fields to the user's profile.
If you want a somewhat sophisticated address field setup, you can install the Addressfield module (https://www.drupal.org/project/addressfield) - or just add individual fields for each address component.
If you want to get fancier with user profiles, have a look at the Profile2 module (https://www.drupal.org/project/profile2).
============================
Resonetrics: Better Tools for Building Brands
http://resonetrics.com
http://technologyformarketers.com
http://kittenassociates.org
http://www.linkedin.com/in/sammooreatresonetrics
Oh, you both great thanks.
Your answers fills me in :) Sorry I have been strugling how to add commerceguys/adressing library on my drupal file structure.
So far I have tried:
/libraries/commerceguys/adressing
/sites/all/libraries/commerceguys/adressing
/sites/all/modules/commerceguys/adressing
but none of them worked :(
Not sure what you are
Not sure what you are referring to but I suspect it is a module and not a library.
the module depends on libraries but how to ...
(x) Address requires the commerceguys/addressing library.
Cannot install
Cannot install the module. geolocation is not satisfy as it only provides langitude and longitude informations.
Maybe this will help:https:/
Maybe this will help:https://www.drupal.org/node/2536332
I cannot run codes
it is a shared hosting I cannot run codes
If you read through the
If you read through the comments, there is one about doing the steps on development setup and copying the resulting files over.
I am ok with geolocation field module
Now , how do I filter results based on users profile geolocation field . e.g. proximity
Start here:https://www.drupal
Start here:
https://www.drupal.org/node/1944648
============================
Resonetrics: Better Tools for Building Brands
http://resonetrics.com
http://technologyformarketers.com
http://kittenassociates.org
http://www.linkedin.com/in/sammooreatresonetrics