How can I remove "See map:" text before the link to the google map? The reason why I need this is because I am replacing the link with an image with css. Thanks in advance!

Comments

legolasbo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing support tickets that have been inactive for over a year to clean up the issue queue. Please reopen if this is still an issue.

crutch’s picture

Status: Closed (outdated) » Needs work

See map: add label or class so we can hide the label "See map:" No one needs to know, or needs further instruction by reading the label "See map:" The links themselves are self explanatory and there is no way to hide it with CSS, has to be manually cut out of module directly or maybe a template will work but that is unnecessary when <label> or span or div class can be easily added to the module.

This little thing has been trouble for years. The only reason I'm back to this is because they are requesting again for it to be removed.

location.inc at around line 43. The quick temporary, change this

function location_map_link($location = array(), $link_text = 'See map: ') {

to this

function location_map_link($location = array(), $link_text = '') {