Fearless_Shultz
Forum Replies Created
-
AuthorPosts
-
Hi Guust,
Thanks for your reply 🙂 I think I have resolved the issue above now. Although I would still like to know if there is a reference somewhere to parameters that can be used in the query string for returning search results if I am adding static links into menu items?
Ah, awesome, thanks 🙂 Didn’t see that another thread had been created. Will update plugins 🙂
Cheers
Mike
This reply has been marked as private.Thanks for the reply Paolo, I’ll go down the plugin route for now 🙂
This reply has been marked as private.Ignore last message, I was being an idiot and didn’t properly check the options in the admin settings for default view.
Hi Again,
When generating the url to display the listing results. Is there a param that I can put in the query string that will show a certain layout by default? When the page loads it is in list view but would like it to be in the grid three format. Is there anything I can add to the below to do this?
?geodir_search=5 &stype=gd_accommodation&s=hotels &snear=cashel &sgeo_lat=52.516757 &sgeo_lon=-7.887674699999934
Solution above working well 🙂
I’ll post the form html, php and sql query once I’ve tidied it up a bit in case it helps anyone else looking to do the same thing 🙂
Cool, thanks I will try that. It’s one of those cases where once you think through what you are trying to do to explain to someone, a simple solution becomes obvious.
Also, I wasn’t sure if just passing the correct url parameters would be sufficient but as you say, amending the search results url returns expected results so no reason it shouldn’t work 🙂
Thanks again.
Mike
Hi Paolo,
Thanks for your reply.
Thinking about it, if I have an html form on a page, could I not submit the field values (including the city name) to an intermediary php page that runs a sql query to get the longitude and latitude from the geodir_post_locations table and then redirect to a url with those values appended to the url?
This would mean I should be able to easily construct the following:
?geodir_search=1&stype=gd_accommodation &s=guesthouse&snear=cashel &sgeo_lat=52.516757& sgeo_lon=-7.887674699999934
I’m not asking for assistance in putting this solution together, just wondering if in theory this should work? I can create the query and forwarding code etc myself.
Many thanks
Mike
Yes, I suppose so 🙁 Although it would have been nice to have had some comment about whether there was more developer documentation available somewhere or when the docs are likely to be expanded on regarding hooks, filters and priorities etc.
I should update to note that I found the following in my child theme functions.php which was hiding the detail sidebar. I am honestly not sure how this ended up in there but can only assume it was an error on my part.
remove_action(‘geodir_detail_page_sidebar’, ‘geodir_detail_page_sidebar_content_sorting’, 1);
Hi Guust,
Point taken and I do understand that people can’t expect to essentially have a theme completely customised for them for free which is what I want. just pointers in the right direction 🙂 because as I said the documentation is not great at the moment (although I understand this is a new product and that will grow over time) so even once you have got your head around hooks, actions and filters etc, it is a bit difficult to be self sufficient without knowing which hooks and orders of preference etc you should be targeting.
Unless there is documentation for this somewhere that I am missing? In which case I will be more than happy to go and read it and learn how to do what I need 🙂
Thanks again with regards to the sidebar issue, knowing that it is at least not a configuration issue within the plugin then I can look at disabling plugins and any further thoughts Paolo can give regarding Genesis would be much appreciated 🙂
Cheers
Mike
Hi Guust,
Thanks for the reply and checking out the site. With regards to the conflict, I have the Genesis compatibility plugin installed, is this not meant to deal with theme related issues?
If everything is configured correctly in the Geodirectory settings then I will go through and try disabling plugins. So are there some widget areas missing as well as I thought there should be more for the details page?
Thanks for the url relating to support. I am a bit confused though as I have seen other examples of the developers giving specific advice and code snippets to people who want to do very similar things to what I am trying to achieve. Here is a perfect example thread:
I would also offer the hopefully constructive criticism that if it is policy not to provide assistance then the developer documentation needs to be much more comprehensive and complete
Hi Paolo,
Thanks for the reply and comment on the design 🙂 Sent message and will look at other posts around the topic of moving elements. Am a bit new to hooks and filters but need to get my head around them 🙂
Cheers
Mike
-
AuthorPosts