Forums › Forums › Search & Filter Pro › migrating to pro version
- This topic has 13 replies, 2 voices, and was last updated 10 years, 4 months ago by Ross.
-
Anonymous(Private) July 1, 2014 at 7:03 pm #2038
I can’t help but think it might be easier for me to continue with the non-pro version. I expect, with your help, I could modify it to filter the projects. I just need to know what URL to call to get the results I need based on the terms and tags selected by the user. I can then write the javascript to hide/show the projects as appropriate (I see from manually setting display:none that the other projects move left as I would expect).
What do you think?
Max.
Ross Moderator(Private) July 1, 2014 at 7:15 pm #2042Hey Max
If you wish to use AJAX then the page the search form is on must have a similar layout to the search results page.
So, try disabling ajax, then check the page the widget is embedded, and the page with the search results, and they both have this container
et_pb_portfolio_items
and also that on the search results page this container does in fact have the correct results?The url that is called is exactly the same as the URL for non ajax results – it basically loads the next results page like normal, but via ajax, and finds your selector on this page (ie .et_pb_portfolio_items) then copies the results over in to the page you are currently on.
In terms of going back to the drawing board and customising the free version to use ajax, that is up to you, but this is exactly the process I did and you have paid for this plugin so I would of course not recommend it for several reasons.
I won’t be able to help you set this up unfortunately thats out of the scope of support – but setting up this plugin to work as intended is!
Thanks
Anonymous(Private) July 1, 2014 at 7:28 pm #2051OK, I see.
Well, I found a jquery selector that gave one result back for both the all page and the results page (tested by manually running jQuery(…).length and seeing it was 1): “.et_pb_portfolio_items,#left-area”
However, the layout is quite different.
In the results page, it is one project on top of another, listed down the page; but on the all page, they are tiled across the page, in four columns.
I guess that is why it still doesn’t work, right?
Max.
Ross Moderator(Private) July 1, 2014 at 8:45 pm #2057Hey Max, in addition the selector must also contain the main query and the looping (on the search results page) then on the page with the widget results will be loaded in to that.
You need to check what hte container is on your results page which contains all your results, then you should add an ID to help identify it more easily, then on the page with your widget you should also make sure there is a container with this ID and you should be good to go!
-
AuthorPosts