Support » Plugin: WebLibrarian » Books showing up on search page without searching

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Robert Heller


    OK, if you use the example short code page from the manual:

    [weblib_itemlist holdbutton=1 inlinemoreinfo=1]

    You will get a search form with the search results. The *default* search results are all books in barcode (‘system’) order.

    If you want a search form without default search results, you need to create a ‘public’ page with just:

    [weblib_searchform actionurl='resultsurl']

    and another page (at ‘resultsurl’) containing:

    [weblib_itemlist holdbutton=1 inlinemoreinfo=1]

    Don’t provide a regular navigation link to the second page (eg use a custom menu and leave this page out of the menu tree), if you don’t want people to land there and get the ‘default’ search results.

    Note: if your pages are using the default permalinks (eg ‘?p=id’), you should set method to ‘post’:

    [weblib_searchform actionurl='/?p=id' method='post']

    As for checkout, this is done on the back end by a user with at least ‘manage_circulation’ priviledge using the Circulation Desk admin page.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Books showing up on search page without searching’ is closed to new replies.