Closed (fixed)
Project:
GMap Module
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2011 at 22:12 UTC
Updated:
13 Feb 2013 at 17:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
giorgoskthe problem with the code is field_alias always gets the NID as described by merlinofchaos in #5 #1160706: Views 3 and $row->{$view->field['field_id']->field_alias}
I created a patch using borrowed code from the bubble text since it behaves correctly
I have tested and it works correctly
PS
other possible solutions would involve extracting one of the following variables (+ additional code down the function call
Comment #2
giorgoskrelated issue on 6.x version #914108: Tooltip and Marker should use rendered field, not raw field from the database.
Comment #3
pasqualleI would call strip_tags() on tooltip as it can not display html tags.
Comment #4
pasquallenote: the "Rewrite results" views functionality (for the tooltip) does not work without this patch..
Comment #5
podarok#1
this needs rerol against latest dev
Comment #6
johnvIMO this is about all Entity fields.
Please find a new patch, containing #1 and #3. It is against latest 7.x-1.x.
The strip_tags() removes all newlines, too. That can be better.
Comment #7
johnvOTOH, strip_tagging can already be done by the default Views field rewrite option.
Attached patch is rerolling #1.
Comment #8
johnvAnd, ofcourse, enabling fields should leave the 'properties' (title, author) unharmed.
Comment #9
podarok#8 thanks!
commited pushed to 7.x-2.x-dev
backported to 7.x-1.x-dev