pawon
Forum Replies Created
-
AuthorPosts
-
update: there is no js error in admin area, but still the address is not fetched from google.
I’m not sure when this problem started, it worked fine before.
Thanks
Thank you, I see the error now… I will check it (although it’s not a really helpful error message :p )
But would this also explain that it doesnt work in the admin?
Thanks,
Pawon
This reply has been marked as private.update: the ‘Disable Google address autocomplete?’ is not checked.
This reply has been marked as private.Will this be implemented in the future? Is seems to be a basic requirement of a directory website. How else should the visitors find the appropriate category?
Pawon
I noticed that /location/ (the homepage) does reset the location in session, while /businesses/ doesn’t. I can see in the function where the reset takes place for /location/ but for /businesses/ it’s a little burried..
Pawon
Hi
I see most of this is set in custom_taxonomy_hooks_actions.php in function
geodir_set_location_var_in_session_in_core($wp)Can you shine some light on where would be the best place to adapt this function to what I want.
thanks
Pawon
No it doesn’t.
It always shows all categories, but with no hierarchy and doesn’t adjust to the page I am visiting.
I have these categories for example:
- A -- AA -- AB -- AC - B -- BA -- BB -- BC
The widget just shows
B BC AA AC A BA (in some random order, I think alfabelically)And it’s the same on every page.
Pawon
Stiofan: you dont need to change it. Just tell me how to change it.
Paolo: Thanks, that’s what I suspected already. Will investigate the code and make the changes myself.
Pawon
Hi,
From another post i know it’s supposed to work like this..
If you visit /businesses/netherlands/ first, and go to /businesses/ afterwards, it shows all businesses from netherlands only
This is the way it is supposed to work, if you enter the site in a category or location url that is specific, then your location is set as that so you can see all info from that location.
But I want to change it, that when you visit /businesses/ that it shows worldwide or ‘all’ businesses. I also think, generally, this would make more sense.
For example on the demo website:
http://wpgeo.directory/attractions/united-states/illinois/
Shows all attractions in Illinois.Click on ‘united states’ in the breadcrumbs, it takes you to:
http://wpgeo.directory/attractions/united-states/
And it shows all attractions in the united stats.Now click on ‘attractions’ in the breadcrumbs and it takes you to:
http://wpgeo.directory/attractions/And it shows you all the attractions of the location you last visited, In this case ‘all locations in united states’.
I think it would make more sense if the /attractions/ url shows attractions worldwide. It’s the logical ‘next step up’.
I know it’s supposed to work like this, but I’d like to have it work differently. Where do I change this in the code? Is there a wp filter?
Thanks
Pawon
Hi Greg,
Thanks I will try that out..
Pawon
November 1, 2014 at 3:07 am in reply to: How can I get the location switcher to show in the menu? #20229It can goakes, you need to put the following in functions.php to allow shortcodes to be used in text-widgets:
add_filter('widget_text', 'do_shortcode');
Then just create a text-widget with the following shortcode:
[geodir_location_tab_switcher autoredirect="1"]
enjoy 🙂
Hi!
No, no caching at all!
Pawon
On more thing.. could it be related to the fact that also the ‘location switcher’ is not working and the tabs on details page are also all visible on page load.. maybe some JS error (although I don’t see any errors being reported).
-
AuthorPosts