I have installed your fantastic project, and followed your video tutorial - If I post to the page that has the results macro on I just get
'No Results found'
Everytime I post to it - Only thing I can see different to your example is I'm using AutoFolders and have extensionless URL's? Just wondering how you would attack debugging it? =)
Ok, can I have a forum section all to myself - As everytime I fricking post, I engage brain and either find what I'm looking for or get it working!!! Please ignore me, all working now (Or is it... lol)
Sorry for cluttering up the place with total waffle... Thank you please.
I have created content pages using document type "Level3" where I type location name and when hit Google button it generates map for the location name.
I have created 3 content pages out of which 2 pages has location property set to "Mumbai" and 3rd one to "Ahmedabad"
But when I am using form for search and enter value for address as "Mumbai" it returns me "No results found"
How Do I Test It?
I have installed your fantastic project, and followed your video tutorial - If I post to the page that has the results macro on I just get
'No Results found'
Everytime I post to it - Only thing I can see different to your example is I'm using AutoFolders and have extensionless URL's? Just wondering how you would attack debugging it? =)
Also.. (Typical asking for more information!).. I can't find any information on the Macro properties inputs for the locator, as in what they mean/do?
LocationAlias="" UseAddress="0" AddressAliases="" ResultsXslt="" AddressExtra="" UnitInKm="0" MultipleResultsCaption=""
Sorry for the questions, I know you guys are busy with the Blog =(
Ok, can I have a forum section all to myself - As everytime I fricking post, I engage brain and either find what I'm looking for or get it working!!! Please ignore me, all working now (Or is it... lol)
Sorry for cluttering up the place with total waffle... Thank you please.
I often do the same thing Lee. Could you post your solution though as it's useful for the record?
Hey Dan
I just filled out the LocationAlias with the docType property that had the locator DataType on it! And it worked ... almost ... lol
<umbraco:Macro XPath="/root/descendant::node [@nodeTypeAlias = 'Event']" LocationAlias="eventGeoLocation" UseAddress="0" AddressAliases="" ResultsXslt="" AddressExtra="UK" UnitInKm="0" MultipleResultsCaption="Please choose below" Alias="Locator" runat="server"></umbraco:Macro>
No it is working, although the Google map isn't showing - So its no biggy at the mo, I'll take a gander at it with fresh eyes on the morning.
Hi,
I am using Umbraco 4.0.3 version. I have installed locator package 1.0.
1. Created Google map key for localhost and placed following code in Main.Master
<
script src="http://maps.google.com/maps?file=api&v=2&sensor=trueorfalse&key=ABQIAAAA1msWLonPjpoFNqVyHUiDhT2yXpZAY8ufC3CFXhHIE1NvwkxQzHjR0ovcBzZF8h_qI2FFuMtg3A" type="text/javascript"></script>
script src="http://maps.google.com/maps?file=api&v=2&sensor=trueorfalse&key=ABQIAAAA1msWLonPjpoFNqVyHUiDhT2yXpZAY8ufC3CFXhHIE1NvwkxQzHjR0ovcBzZF8h_qI2FFuMtg3A" type="text/javascript"></script>
script src="http://maps.google.com/maps?file=api&v=2&sensor=true_or_false&key=ABQIAAAA1msWLonPjpoFNqVyH_UiDhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxQzHjR0ovcBzZF_8h_qI2FFuMtg3A" type="text/javascript"></script>
2. Created document type called "Level3" with property "location" of datatype locator.
3. Created centerResults.aspx content page and placed a macro as follows :
<umbraco:Macro ID="Macro1" XPath="/root/descendant::node[@nodeTypeAlias = 'Level3']" LocationAlias="location" UseAddress="0" AddressAliases="" ResultsXslt="" AddressExtra="" UnitInKm="0" MultipleResultsCaption="" Alias="Locator" runat="server"></umbraco:Macro>
4. Placed following code in Main.Master
I have created content pages using document type "Level3" where I type location name and when hit Google button it generates map for the location name.
I have created 3 content pages out of which 2 pages has location property set to "Mumbai" and 3rd one to "Ahmedabad"
But when I am using form for search and enter value for address as "Mumbai" it returns me "No results found"
Am I missing something.
Please need help urgently.
Thanks in advance,
Manisha
Hi,
When I observed the url after postback on search it is http://localhost/CenterResults.aspx?s=mu&radius=0%E2%80%B3 where I get "No Results Found"
I removed the last characters after radius=0 resulting in http://localhost/CenterResults.aspx?s=mu&radius=0 It gave me the results.
I don't know how these extra characters are added. Please guide.
Thanks,
Manisha
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.