Hi - just installed the Locator Razor Style package.
I have it set up as indicated... Documents of alias "dealer", with a property of "location" using the Google Maps Datatype.
I've created two dummy "dealer" documents for testing purposes. And I've inserted the locator macro on my page and fed it the correct query string.
However, I get no results - as if the macro isn't there. However, if I do not submit the query string, I do get a "Please enter a search term", which indicates that the macro is running, correct?
Any help would be appreciated.
One note: do my "dealer" documents have to be assigned a template in order for the locator to work? This was one thought I had, but adding a template did not solve the problem.
Blank results
Hi - just installed the Locator Razor Style package.
I have it set up as indicated... Documents of alias "dealer", with a property of "location" using the Google Maps Datatype.
I've created two dummy "dealer" documents for testing purposes. And I've inserted the locator macro on my page and fed it the correct query string.
However, I get no results - as if the macro isn't there. However, if I do not submit the query string, I do get a "Please enter a search term", which indicates that the macro is running, correct?
Any help would be appreciated.
One note: do my "dealer" documents have to be assigned a template in order for the locator to work? This was one thought I had, but adding a template did not solve the problem.
Did not realize it, but I was actually having the same problem as:
http://our.umbraco.org/projects/developer-tools/locator-razor-style/help-using-the-locator/23660-Please-provide-a-search-term
The solution posted there to use "Value" instead of "ToString()" worked for me.
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.