Jeff Cooper Posted August 6, 2010 at 05:41 PM Share Posted August 6, 2010 at 05:41 PM In the geomap infowindow popup, I would like to test the value of one of my listing fields. In map_infowindow_google.thtml, I understand that I can display the value of a field by using: <span class="gm-jr_address"></span> Is there a way to 'test' the value of jr_address in this file? For example, if I want to use an if, then statement with jr_address, how would I do it? This doesn't work: <?php if(<span class="gm-jr_address"></span> = 0):?> I have also tried defining a variable to include the contents of "<span class="gm-jr_address"></span>", but that isn't working either. If I can't make this work using the span class, is there another way to pull a listing variable into this file? thanks Jeff Link to comment
Alejandro Posted August 6, 2010 at 06:16 PM Share Posted August 6, 2010 at 06:16 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Jeff Cooper Posted August 6, 2010 at 07:10 PM Author Share Posted August 6, 2010 at 07:10 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Jeff Cooper Posted August 6, 2010 at 08:17 PM Author Share Posted August 6, 2010 at 08:17 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts