Member Login

Resources

Developers Blog
GMapsPRO Demo
Bug Tracker
-----------------------------------
GMaps Community Forums
GMaps Subscriber Forums
-----------------------------------
Google Maps API Reference
Google Maps Group Forum

Who's Online

We have 25 guests online

Affiliates



Community Forums

NOTE: Subscribers, please post in the SUBSCRIBER FORUMS - NOT IN THE COMMUNITY FORUMS

homepost replythreaded viewruleshelp
 
stevent
Fresh Boarder
 
How to show the name in stead of the username? - 2008/03/27 06:47
I've been trying to alter the infowindow so it doesn't show the username, but the real name of the user. Simply puting {NAME} in the infowindow.fmt file doesn't work.

I've altered some of the files. When debugging I can show the real name, in the mapusertab.class.php:
Code:

 echo "debug:  name = ".$profile->getName() ." <br/>";



But if I uncomment this line in the profilehelper.class.php, the name-field isn't showing in the list of tags:
Code:

 echo "debug: tag = " $tag "  replaced with = " $profile->allfields[$keyArray[$i]] . "<br/>";



I realy wish that the name-field would be an option in stead of the username, like in the map that uses the cb-adapter.
The administrator has disabled public write access.

cs1559
Admin
 
Re:How to show the name in stead of the username? - 2008/03/27 21:30
I believe you found a solution yourself. If you would like it to be added to the code base, just add the request to the bug tracker.
Chris
The administrator has disabled public write access.