By inma_barreda on
Hi all,
I'm developing the website of my college. In the user's profile (exemple: http://drupal.org/user/359204 ) I would like to show the location GoogleMap showing with a marker where does the user lives.
How could develope this?
I know there is the "Location block" and "Author block" but I don't need a block on a column, I want to show the gmap embebed on the profile.
I need help, please.
Comments
Blocks can be rendered in
Blocks can be rendered in content as well as side bars (columns)
This is not posible in the profile
Jes I know, but, in the user's profile... there is no way to show the block "Author location". And this block has a title, and I don't want a title... only a small embebed map.
On the blocks configuration
On the blocks configuration page there is a dropdown with content regions in it. Depending on which theme you use the options are different. Usually though 'content' is a choice. So yes it can be shown on a user's profile page. On the configure screen for a block you can set in the 'Page specific visibility settings' which pages it will appear on.
Now as far as the block title goes. Create a new block template for that block and simply remove the title.
"Author location" block
Again: "Author location" block do not appears on the user's profile page, only in pages, stories... but not on the user's profile.
For this reason I'm asking: How can I add the Gmap showing the user's location with a marker on the user's profile?
Hmm, ok well you could just
Hmm, ok well you could just code a block to do it. Create a custom block, load a users info and then display whatever you like.