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.
|