| |
advProfile and Map | |
|---|---|---|
| katena | Posted: 12.09.2006, 17:42 | |
Noob
registered: Sep 09, 2006
Posts: 6
Status: offline last visit: 19.10.06 |
Hello, I installed advProfile (great module!!) making a MAP tab page as in this site. I make dynamic data field in user profile to get members latitude and longitude for Google Maps. With Safari and Firefox is all OK, with IE I have blank tab page... In this site instead all work also with IE, what coul be the problem? This is my advProfile_user_map.tpl: (renamed "script" in "XXXscript" to post in the forum) thanks |
|
|
|
|
|
| Chestnut | Posted: 13.09.2006, 11:05 | |
|
Site Admin
registered: Jun 02, 2002
Posts: 1320
Status: offline last visit: 07.02.08 |
See this for the example used on pnConcept : HERE Chestnut ! ![]() Site Admin |
|
|
|
|
|
| katena | Posted: 13.09.2006, 17:18 | |
Noob
registered: Sep 09, 2006
Posts: 6
Status: offline last visit: 19.10.06 |
thanks! I copy the function.googlemap.php also. At the moment no luck, blank tap page with all browser. I also tried to put the google script in the mytheme master template but i doesn't work. I'll check your code again to find a way. thanks again |
|
|
|
|
|
| katena | Posted: 14.09.2006, 09:46 | |
Noob
registered: Sep 09, 2006
Posts: 6
Status: offline last visit: 19.10.06 |
Resolved!! In advProfile_user_map.tpl posted before I deleted all "head" and "body" tags, renamed "function load()" to "function googlemap()" added the line "window.onload = googlemap;" before "//]]>" line |
|
|
|
|
|
| marvel | Posted: 29.01.2007, 18:28 | |
Noob
registered: Feb 16, 2006
Posts: 2
Status: offline last visit: 29.01.07 |
Howto get it work for dummys ? working for hours with only bad results. Googlemap (2.0) und Advprofil (2.1) alone works fine. I got the googlemap.plugin.tpl and the function.googlemap.php. I called the user_map.tpl like the other ones like last10xxx Is there a chance do become a user_menu.tpl and user_map.tpl ready to run ? |
|
|
|
|
|
| Chestnut | Posted: 29.01.2007, 18:49 | |
|
Site Admin
registered: Jun 02, 2002
Posts: 1320
Status: offline last visit: 07.02.08 |
Marvel, you need advProfile/pntemplates/default/advProfile_plugin_googlemap.tpl and advProfile/pntemplates/plugins/function.googlemap.php (Put these files in the appropriate folders as shown in the address) Then, create a template called: advProfile_user_googlemap.tpl in modules/advProfile/pntemplates/default and insert in the template: (remove the numbers at the start of each lines... damn code tag...) Last thing to do is add a link to the advProfile_user_menu.tpl: And you're done. Chestnut ! ![]() Site Admin |
|
|
|
|
|
| marvel | Posted: 29.01.2007, 21:37 | |
Noob
registered: Feb 16, 2006
Posts: 2
Status: offline last visit: 29.01.07 |
Ok, thank you ! Works fine. Great work @all ;) |
|
|
|
|
|
Powered by pnForum Version 2.0.1



