Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin 278 posts 662 karma points
    Jan 19, 2012 @ 17:35
    Martin
    0

    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.

    <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

  • Martin 278 posts 662 karma points
    Jan 20, 2012 @ 11:11
    Martin
    0

    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>
Please Sign in or register to post replies

Write your reply to:

Draft