Closed (fixed)
Project:
Google Maps location
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2009 at 21:02 UTC
Updated:
10 Aug 2009 at 15:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
nicholas.alipaz commentedThis is against today's 2.x-dev. I am using the patched version here on my sidebar block:
http://sorkbeachrentals.regencyweb.info/
Comment #2
babbage commentedYour patch may be against the current 2.x-dev but you've clearly based it on the earlier version, because it reverts some of the changes recently made to the module. (See for instance your re-addition of the line
case 'view': default:).Please re-roll properly against the current 2.x-dev, i.e. this patch should contain only the changes you are actually proposing, and not affect any other code.
Comment #3
babbage commentedAlso, your patch incorrectly lists the file to be patched against:
+++ gmaplocation_blocktext.module 2009-07-15 13:47:36.000000000 -0700If you are going to roll your patches against a local file (as opposed to against CVS) you need to manually re-name the source or destination file (whichever one you've named differently) so that it will correctly apply. This patch would be looking for a file called gmaplocation_blocktext.module, which of course does not exist.
Just so you know for future reference. No big deal. :)
Comment #4
nicholas.alipaz commentedRan the patch again. I am pretty sure I had the latest version, but I had copied over some changes (using meld) I did before the latest and in turn overwrote some of the new changes with old code.
This patch should be all good from what I can tell, please test ;)
Comment #5
babbage commentedComment #6
JaredAM commentedWorks good for me. I was actually on my way to adding this functionality so it's neat to see we're all thinking alike.
Comment #7
nicholas.alipaz commentedThanks, glad to hear you have it working too.
Comment #8
babbage commentedhttp://drupal.org/cvs?commit=243088
Note in version committed the css id for this text has been changed from gmaplocation_block_top_text to gmaplocation-block-text-top, so if you had applied this patch previously and styled this text you will need to update your css.
Comment #9
nicholas.alipaz commentedthanks for the commit. This will indeed be useful.