I am experimenting with APK on Drupal 6.10 to learn it. I installed APK, Content Profile and Panels2 modules for panel based profiles. I am using the uprofile provided by APK. I tried to add a google map to user profile page via Gmap+Location modules as a panel pane, but I couldn't. I am using "node locations" module for adding locations to profiles as nodes. I can see and modify the google map via user/1/edit/uprofile . I added the "Location map" pane to uprofile via panels. but it does not show up in the profile. Is there are a special setting necessary in the panels? I thought that maybe "node locations" module cannot find out the node number as "user_profile" panel is taking only "User ID" as an argument.
Comments
Comment #1
mcload commentedI saw that it was asked before at http://drupal.org/node/353929 .
Comment #2
mcload commentedCould anybody set this up for D6?
Comment #3
mcload commentedI solved it with a crude patch to gmap_location.module file. The problem is that it expects a node id as an argument, but APK+Content Profile+Panels2 based profile page sends only a user id to the module. Find the code
and replace with
Replace 'uprofile' in the code with the name of your profile content type. There may be a way to get the name of content type automatically, but I do not know for now.
Comment #4
yesct commentedis this a suggestion to make a change to a location module file? maybe create a patch: http://drupal.org/patch/create
tagging.
Comment #5
sleepingloach commentedI do not mean to mix issues, but this is similar -
The panels based profiles do not allow the CCK fields from the location module to be chosen for display. I would like to show only the city and state in the public facing user profile (not the entire gmap), but I record more detail as I allow proximity searching in a view.
How could those fields be displayed in panels?
Matt
Comment #6
frankcarey commented@sleepingloach
If you use a node context in your panel, then load node content (like teaser or fieldgroup) into a pane, this should work to get that stuff. Note that cck 2.3 doesn't work with panels 2 anymore. any further questions, please start a new thread?
Comment #7
nickl commentedSubscribe - This vaguely resembles getting a map to display on node view so I will bite.
Status: needs review, means that we have a diff patch rolled which us eager patch junkies can easily apply, test, review and give feedback. Lets keep the gears greased and get rid of all these open issues.
Changed
Status to needs work: Please roll a patch.
Category Feature request: since this doesn't appear to currently be possible without a patch so not support request anymore.
Comment #8
ankur commentedI think this should now be possible with #487790: Panels integration