• Resolved nationwidestudios

    (@nationwidestudios)


    I’m using the publication search form in code manager and I’m looking for a way to hide the search parameters in the url. is this possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @nationwidestudios,

    Thank you for reaching out. And thank you for upgrading! ??

    Search parameters are read from a JavaScript function. It is not possible to access post variables directly in JavaScript, but I think it should be possible to store them in a JavaScript object. Just give me a little time to figure this out…

    A search form currently has to be on a separate page. Alternatively a search form could be displayed on the same page as the table. Would that be an acceptable alternative? Or even preferred?

    Thanks,
    Peter

    Thread Starter nationwidestudios

    (@nationwidestudios)

    we also want to hide the everything on the table except for the results of the search. If that can be done on the same page is fine as well but same page or 2 pages doesn’t matter.

    Thread Starter nationwidestudios

    (@nationwidestudios)

    Would it be possible to pass the search criteria to a custom query on the tables page instead of loading the table? Thank you for taking the time to help us figure this out.

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @nationwidestudios,

    We added a new feature to WP Data Access to support POST requests for search forms. The new feature will be available with the next update which is planned to be released next week. It works just like GET requests. You just need to change your form method.

    >>> we also want to hide the everything on the table except for the results of the search

    You can do this in the arrange section of the Extension Manager. This is documented here:
    https://wpdataaccess.com/docs/data-tables/extension-manager/

    >>> Would it be possible to pass the search criteria to a custom query on the tables page instead of loading the table?

    A good way to handle this is to create a database view for you custom query and then create a Data Table from your database view just like you would with a database table.

    Hope this helps. Feel free to create a new thread if you have other questions.

    Since you have a premium license you can also ask for premium support here:
    https://users.freemius.com/store/2612

    We’re glad to help! ??

    Best regards,
    Peter

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘hide search parameters in url’ is closed to new replies.