We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38162
    • 97 Posts
    I didn’t want to add another topic, but I just couldn’t find a solution for this that doesn’t involve digging into the core.
    I am using 1.9.0 RC2 with jquery and ajax search mode, pagingType 1 with default template.
    The problem: Pagination shows up where it should, but the blue prev and next arrows are missing. The link shows as well, but with space (nbsp), without the images and the links are dead.
    They are pointing to javascript:void(0); , but nothing happens when clicking them.
    Any idea? Has something similar happened before? huh

      • 5811
      • 1,717 Posts
      You need to add an image folder in your mytemplate/css folder. Copy the ajaxSearch/images folder in your templates/myTemplate/css folder, where you define the search css tags.

      The css tags used are (look at the ajaxSearch/documentation/someCssExamples/search.css file):
      .paging1Infos{ margin:0 5px 5px; color:green;}
      .paging1Prev{ margin:0; padding:8px; background:url(images/asprev.png) 0 center no-repeat;}
      .paging1Next{ margin:0; padding:8px;background:url(images/asnext.png) 0 center no-repeat;}
      
      .paging2More{ margin:10px 10px; padding:8px;background:url(images/asnext.png) 0 center no-repeat;}
      .paging2Text{ margin:0 0 0 12px; color:green;}


      You could use your own images or use the images folder provided with the snippet (see ajaxSearch/images)

      I will document a bit more this point.
        • 38162
        • 97 Posts
        For some reason I didn’t think of adding them via CSS, thought they are added by the snippet like the cross and indicator images.
        They show up fine now, visually everything is as intended now, but the link is still dead.
        Nothing happens when I click the ’next’ arrow. undecided

        Also, thanks for the quick reply again.
          • 5811
          • 1,717 Posts
          They show up fine now, visually everything is as intended now, but the link is still dead.
          Nothing happens when I click the ’next’ arrow.
          Under firefox, by using firebug do you note any javascript issue ?
            • 38162
            • 97 Posts
            I just tested again and no, there is no relating error message whatsoever. Neither firebug nor dragonfly (opera) complain. I checked both standard error consoles too and there is no relating error message as well.

            Only js error I received was on page start,
            assignment to undeclared variable asvar
            
            Line 27
            

            but doesn’t seem to be directly related, as everything else seems to work from there on.
              • 5811
              • 1,717 Posts
              assignment to undeclared variable asvar

              Do you use several AjaxSearch snippet calls on your start page ?
              Do you use Jquery or mootools ?
                • 38162
                • 97 Posts
                No, only one per page. I use jquery as mentioned in first post. I got addJscript = `0` and added the jquery call manually, because i have other jquery scripts on the page. Those aren’t the problem though, as I also tried it on a blank page with only ajaxSearch on it and it gave me the same problem.

                Btw, it works fine with nonAjax mode.
                  • 38162
                  • 97 Posts
                  Private messages are for some reasons not possible on this forum, hence I sent you a contact message on your demo site with links to the ajaxsearch testpage and the log. I couldn’t find the issue yet, maybe you have more luck.

                  Thanks for the replies.