PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Customizing results page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Customizing results page

    I have my own search form that looks like this:





    Which will be on my pages.

    However, when I get my results, I get them on a blank page, and I want them to appear in the same format as the rest of my pages using a template file with CSS's.

    What I want to do is similar to Wrensoft's main page, where there is a small search box up top, but the results are displayed in a new page, with the results in the middle area of a web page with a CSS.

    Please help. Thanks in advance!

  • #2
    I think I figured it out on my own, but if someone could still reply and let me know if this is the proper way, I would appreciate it.

    I simply created a file named search.php file (I'm using php obviously, not CGI) that was formatted to my CSS, and then pasted all the info from the original search.php file into the editable region in my new search.php file, and everything seems to work fine. Is this the easiest way to do this? Or should I do something else? Thanks.

    Comment


    • #3
      No, this is not the best way to do it.

      You should edit the search_template.html file (which contains the CSS) and leave the search script alone.

      More details are in the FAQ,
      http://www.wrensoft.com/zoom/support...tml#modifyform
      http://www.wrensoft.com/zoom/support/css.html
      http://www.wrensoft.com/zoom/support...tml#searchform

      and in the user guide. (Doesn't anyone read the users guide !!!)
      http://www.wrensoft.com/zoom/usersguide.html

      -----
      David

      Comment

      Working...
      X