Posted by milos1234 on March 20, 2009 at 1:07pm
Jump to:
| Project: | KML |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi, is there a way to show the KML file link in a block or a view. Either through a php snippet, or some settings in the module that i am overlooking. Thanks!
Comments
#1
To do this, I made a view with a kml feed display that takes Nid as an argument. I set the path to this display as node/%/kml. So you have the kml available on the nodes filtered by this view. Next, you just need to add a block display, add the Node: Path as a field and link this field to [path]/kml. You can than rewrite the output of this field to 'See in Google Earth' or something.
#2
Thanks maartenzam!
#3
Automatically closed -- issue fixed for 2 weeks with no activity.