Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all,
I'm having problems with the locator package, with my results page given me a "Error displaying locator results" message.
I have a "Branch Area" document type with a "Branch" document type as a child.
Ive installed the Google Maps for Umbraco 2.0.2 package, which is pulling out and displaying the co-ordinates of my 3 "Branch" pages.
I've also installed the Locator Package 1.1 & updated the xslt to the new schema.
the locator package datatype info is left the same as when installed.
Is there anything wrong with my xpath or the form?
The locator macro is placed within a template called results.
<umbraco:Macro XPath="/root/descendant::*/Branch" LocationAlias="locationcoord" UseAddress="0" AddressAliases="" ResultsXslt="LocatorResults.aspx" AddressExtra="UK" UnitInKm="0" MultipleResultsCaption="" Alias="Locator" runat="server"></umbraco:Macro>
And on my master template i have the form.
<form method="get" action="results.aspx"> <fieldset> <label for="s">Postcode: </label> <input type="text" name="s" /> <button type="submit"><span>Go</span></input> </fieldset> </form>
Thanks
Martin
Sorry macro is
<umbraco:Macro XPath="/root/descendant::*/Branch" LocationAlias="locationcoord" UseAddress="0" AddressAliases="" ResultsXslt="LocatorResults.xslt" AddressExtra="UK" UnitInKm="0" MultipleResultsCaption="" Alias="Locator" runat="server"></umbraco:Macro>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Locator Package 1.1 Problems
Hi all,
I'm having problems with the locator package, with my results page given me a "Error displaying locator results" message.
I have a "Branch Area" document type with a "Branch" document type as a child.
Ive installed the Google Maps for Umbraco 2.0.2 package, which is pulling out and displaying the co-ordinates of my 3 "Branch" pages.
I've also installed the Locator Package 1.1 & updated the xslt to the new schema.
the locator package datatype info is left the same as when installed.
Is there anything wrong with my xpath or the form?
The locator macro is placed within a template called results.
And on my master template i have the form.
Thanks
Martin
Sorry macro is
is working on a reply...