Disable Ajax

This topic contains 3 replies, has 2 voices, and was last updated by  CTHthemes 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28743

    chamer
    Participant

    Supported

    Hi!

    I want to disable loading of ajax on my listing page.
    When I look for the normal form it appears OK. But when I search through the ajax form it appears wrong. It does not load the display according to the plans I have on the site.
    Attached I have the two pictures
    (1) search through the bar in the header (with search button)
    (2) search through the sidebar that loads via ajax.

    I already changed the tmpls.php that shows the searches via ajax, but until then without success, it is attached as well.

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #28804

    CTHthemes
    Keymaster

    Hi, would you give me more info about this?

    #28974

    chamer
    Participant

    Supported

    Of course!

    The site has a main page that has the option to search the banner. To perform the search, the search form is via search button. When loading the page, it loads the results list and in the sidebar, in my case, the search filters appear. If I want to re-search the same page, when entering the data, the search is performed automatically, via the asynchronous Ajax request.
    My problem is that I changed the display format according to the plan the user has, ie if he has the basic plan, little information will be displayed in the listing. The fact is that I changed the file that modifies the display format and also made this change in the file that is used for Ajax search. The logic used is the same. I’ve created a variable that verifies the user who registered the company and the plan of that user. With this I have which format will be displayed.
    But rules created via Ajax did not work. So to make the job easier I want the same search that is in the banner on the homepage to be placed in the sidebar of the listing page, that is, without the ajax search return, since the code is already working correctly for that page.
    Thank you!

    #29003

    CTHthemes
    Keymaster

    Try edit .js file like this:

    1 – http://prntscr.com/m8rqt3
    2 – http://prntscr.com/m8rrq6

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

New featues: CityBook - Listing & Directory WordPress Theme version 2.0.0 was outUpdate now
+