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

maartenzam’s picture

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.

jeffschuler’s picture

Status: Active » Fixed

Thanks maartenzam!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.