- Max Waterman(Private) July 1, 2014 at 7:03 pm #2038
What do you think?
Max.Ross Moderator(Private) July 1, 2014 at 7:15 pm #2042
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_itemsand 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!
ThanksMax Waterman(Private) July 1, 2014 at 7:28 pm #2051
OK, 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 #2057
Hey 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!
You must be logged in to reply to this topic.
Our support hours are:10am - 5pm (GMT), Monday - Friday
Please be aware that tickets opened over the weekend will looked at on Monday.