PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

HTML customization for results page - question

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

  • HTML customization for results page - question

    Hi guys, wonderful product, wonderful service.

    Quick question for all you reading this, is there a way to place the search results into my HTML based templet? I have an extensive templet with several (several!) pages and do not want to have to re-code everything. I am only using CSS to control my fonts, background and table colors (I'm only just starting in CSS). My templet consists of one table with several columns and I would like to have my results show in one of these. Has anybody here done this? Would it be better to use the PHP, ASP, Java, or CGI platform (I would like to use the PHP, but can use the others if needed)?

    If any of you could help point me in the right direction, I would greatly appreciate it.

    Thanks in advance!
    Amber

  • #2
    Use the PHP platform is that is what you like.

    If your template is just HTML, then edit our search_template file to look like your template, or cut out a few keys pieces of our search_template and put them into your template, like our CSS codes.

    Or if your template uses scripting for headers and footers, see this FAQ.

    Comment


    • #3
      Thanks for the links.

      I went over those for hours last night and couldn't get it to work. Turns out I shouldn't be working on 4 shots of coffee at 2 am in the morning, as my only problem was that I wasn't replacing the search_template I had saved as reference, so it didn't get uploaded to the server.

      Man, do I feed like an idiot now.

      My only problem now is that the colors indicated in my css for the page templet, as well as my background do not show up. Any tips or sugestions here?

      If you need to see a sample of the original, you can visit this page. The search works, and will open up the results page, but if you check it out you'll see that the colors do not show up. (http://thegildedpen.com/search.html)

      Thanks! Sorry for being a pain.
      Amber
      Last edited by ajennell; May-04-2007, 07:31 PM.

      Comment


      • #4
        Yes, a good nights sleep can definitely help.

        This is just a HTML issue and not an issue with the search function. I don't want to spend hours debugging your HTML code, but my guess is that you have used relative paths for all the images. Like this,
        background="graphics/bg1.jpg"

        Which might work for pages in your root directory, but they will become broken links when you load pages from a sub-directory.

        Link to images like this instead.
        background="/graphics/bg1.jpg"

        Comment


        • #5
          Yes, a good nights sleep can definitely help.
          I guess I should have gotten a little more sleep. The problem was a rather simple one: I forgot to put the style css into the same folder as the search_templet...

          So if any of you have the same problem, read this first! LOL

          Thanks for your help,
          Amber

          Comment

          Working...
          X