I have a site that I am converting over from Evolution to Revo. I used Bob’s getRevo tool. Now I am just cleaning up and replacing some old things that don’t work on Revo, including ajaxSearch, which I have replaced with SimpleSearch. THe functionality works fine, but on the results page the pagination is not working. It’s just dumping what looks like un-processed data output (array) (I’m not a programmer). I can’t figure out what is missing. I don’t see anything in the documentation about needing any other packages to work. This is what I get where the pagination should be:
Not sure why the code is outputting the array content.
Maybe the code can’t find the chunks to render the information.
Do you use a chustom chunk for the property &containerTpl? If so, how is the paging output in this chunk? If not, does the chunk SearchResults have the original content?
Do you use custom chunks for &pageTpl or ¤tPageTpl in your SimpleSearch snippet tag? If not, do the chunks PageLink and CurrentPageLink have the original content?
Thank you for the reply. Nothing is custom, just the basic integration of SimpleSearch, everything should be as-is from the install of the package. The results post just fine, the pagination seems to be the only thing not working.
Did you take a look at the chunks (especially PageLink)?
Maybe there already existed a chunk with the same name before you installed SimpleSearch and therefore the output may be weird.
In the code, I can’t see where an array would be output.
For every page, the code just parses the chunk PageLink (or CurrentPageLink) and returns the concatenated result.
What versions of MODX, SimpleSearch and PHP are you currently using?
Is pdoTools installed on your system? What version?
Thank you for mentioning PageLink, it was missing! Not sure why it was not created on install. I uninstalled SimpleSearch and reinstalled and it’s there now and working fine.
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.