Search issue (4 posts)

  1. mvanboordt
    Posted 3 years ago #


    I have a little problem with my search function.

    It works. Except when a user clicks on the search button without filling in the form.

    In the address bar I see the following:

    I have no idea what the x and y values are and I can't seem to find them anywhere in the code.
    The s value is the value typed in the form.

    Any other way works. If I fill out the form with content that can be found it shows the content and if I fill in the form with content that can't be found it shows a message that the content can't be found.

    I based the search function upon the twenty eleven templates.

    I hope anybody can help me with this.


  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Which theme are you using?

  3. mvanboordt
    Posted 3 years ago #

    I create my own theme.

  4. mvanboordt
    Posted 3 years ago #

    I forgot to mention what happens.

    If the user clicks the search button without the form filled in the page that is loaded is based upon my default template and shows all pages that are listed in the upper level from the website.

    However I told the search-template to use a different template. So it looks like it makes a combination of the two templates.

Topic Closed

This topic has been closed to new replies.

About this Topic