Forum Activity for @iamtimbo

iamtimbo
@iamtimbo
03/18/15 08:37:52AM
301 posts

Will a ujGooglemaps map appear in a SiteBuilder panel?


GoogleMaps

Update - Ive just removed the foreach loop entirely, and get the same result as in the previous post (without the address placeholder text, obviously) - just the first place in the list appearing....

I'm not confident enough with the operations in that loop (although I can see what it's supposed to be doing) to identify the error, though.
iamtimbo
@iamtimbo
03/18/15 07:41:45AM
301 posts

Will a ujGooglemaps map appear in a SiteBuilder panel?


GoogleMaps

Thank you for that - I see what you're saying. I've been back and reinserted the code from earlier, so the template starts like this:

{if isset($_items)}

{foreach $_items as $key => $val}
  {$_items[$key].profile_googlemaps_lat=$profile_latitude}
  {$_items[$key].profile_googlemaps_lng=$profile_longitude}
  {$_items[$key].profile_googlemaps="address placeholder"}
{/foreach}


{ujGoogleMaps_map module="jrProfile" name="testy" marker="infowindow" map=$_items height="300" width="100%" map_type="hybrid" }

Interestingly, the map is rendering, but only the first place in the list. However, looking in the debug console, you can see that the profile_googlemaps_latitude and profile_googlemaps_longitude is still reading 'null' - yet it has got the first entry in the array mapped....

I've attached a screenshot with the output on, and the debug window on top.....

EDIT: it also hasn't added the marker, even though an infowindow was requested
ultrajam6.jpg ultrajam6.jpg - 324KB

updated by @iamtimbo: 03/18/15 07:44:14AM
iamtimbo
@iamtimbo
03/18/15 06:50:26AM
301 posts

Will a ujGooglemaps map appear in a SiteBuilder panel?


GoogleMaps

Hi there - this is what I see......
ultrajam5.jpg ultrajam5.jpg - 196KB

updated by @iamtimbo: 03/18/15 06:54:57AM
iamtimbo
@iamtimbo
03/16/15 08:32:22AM
301 posts

Will a ujGooglemaps map appear in a SiteBuilder panel?


GoogleMaps

It's all so tantalisingly close, I can smell it! The foreach loop is passing in the "address placeholder" text (from the code 9 posts above), so it's definitely running, but it's not updating the profile_googlemaps_latitude & profile_googlemaps_longitude - debug just shows their values as 'null'. There are definitely valus in $profile_latitude and $profile_longitude.

I'm guessing it's a syntax thing, and am playing around......!
ultrajam4.jpg ultrajam4.jpg - 42KB

updated by @iamtimbo: 03/16/15 08:33:21AM
iamtimbo
@iamtimbo
03/16/15 07:50:41AM
301 posts

Will a ujGooglemaps map appear in a SiteBuilder panel?


GoogleMaps

Nice one - well done - that's absolutely perfect! I'll revsisit the foreach loop stuff now to get the data from where it's at to where it needs to be.

Thanks again - really much appreciated.
ultrajam3.jpg ultrajam3.jpg - 314KB

updated by @iamtimbo: 03/16/15 07:51:13AM
iamtimbo
@iamtimbo
03/16/15 02:52:35AM
301 posts

Will a ujGooglemaps map appear in a SiteBuilder panel?


GoogleMaps

Hi there - definitely using jrProfile. Can you clarify what you mean by 'profiles not items'? All the 'places' I'm trying to list are profiles in their own right...
iamtimbo
@iamtimbo
03/12/15 01:03:54AM
301 posts

Will a ujGooglemaps map appear in a SiteBuilder panel?


GoogleMaps

Ok - Steve - I'll have a look and get back to you....
iamtimbo
@iamtimbo
03/06/15 05:38:09AM
301 posts

Jamroom.net header issue!!


Design and Skin Customization

Hi there - you have an issue on Jamroom.net, where Ken Rich's profile pic is tiled as the header background!

Doesn't appear on all pages, but does on (for example) /ultrajam . I'm on iOS on ipad if that helps.....
image.jpg image.jpg - 465KB

updated by @iamtimbo: 04/07/15 04:18:32PM
iamtimbo
@iamtimbo
03/06/15 03:48:25AM
301 posts

Menu titles & positions not sticking


Using Jamroom

Changes to new menu items have stopped sticking. I say sticking rather than saving, because they save, but when the page refreshes after save, the created menus just appear as 'New Menu', 'New Menu', 'New Menu', etc, they don't take the names or the ordering you've given them.


I have a lot of menu options, just over 200, from 9 top level menus, but I know the limit got increased to something way higher than that.
updated by @iamtimbo: 12/22/16 11:55:59AM
iamtimbo
@iamtimbo
03/06/15 03:11:04AM
301 posts

Will a ujGooglemaps map appear in a SiteBuilder panel?


GoogleMaps

The profiles showing lat/lng info did have values in the profile_googlemaps field,as I'd used the module to add the data. I've added the output from the field to the screengrab to show it coming in...
ultrajamcapture2.jpg ultrajamcapture2.jpg - 102KB

updated by @iamtimbo: 03/06/15 03:11:41AM
  23