PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Cannot display logo on search results page

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

  • Cannot display logo on search results page

    Hi.. I'm trying to make sure our Banner and logo show at the top and bottom respectively of the search results page... ("search_template.html") but no matter what I do.. the banner and logo won't show.

    I've put 2 div fields around where the results should appear but the graphics never show up.. I've tried a zillion things in the template

  • #2
    The search_template.html is a normal HTML file.
    If the HTML is correct and the images are on your server they'll show up.

    If you still have a problem can you post a link to the search function.

    Comment


    • #3
      banner and logo

      Hi... I know this is so embarrassing.. but I can't get it.. Lets's assume I have a template . It displays fine in my Dreamweaver CS5 live view.. I've put the 2 images in my cgi-gin with all the other files.. I'm thinking the page (search-template.html) doesn't know where to look for them.. I'm flummoxed

      Other than that..wow.. what a great engine..Thanks!!!


      Originally posted by wrensoft View Post
      The search_template.html is a normal HTML file.
      If the HTML is correct and the images are on your server they'll show up.

      If you still have a problem can you post a link to the search function.

      Comment


      • #4
        banner and logo won't show

        This is a screen shot clip of my template page when I click on the html and open in firefox..



        I want the form results to go after the text and above the logo at the bottom

        As it is although I have put the images in the body of the template, they will not show when the form executes..

        Any help will be appreciated. Please visit our site: www.hcvadvocate.org and try the search engine.. I went for the CGI option..It's fab..

        Comment


        • #5
          you dont appear to be using the search_template.html at all?

          Comment


          • #6
            This is the URL for the image on your server,
            http://linux.hcvadvocate.org/cgi-bin/masthead_logo.gif
            At the moment your server is returning a "Internal Server Error" for this URL.

            So what I suspect is that your server is configured to only serve CGI files from the CGI-BIN folder.

            Copy the image file, masthead_logo.gif, to a different folder on your web site. Then modify the URL to the image file in the search_template.html.

            Do the same for the footer image, global_hepc_logo.gif.

            Comment


            • #7
              Originally posted by wrensoft View Post
              This is the URL for the image on your server,
              http://linux.hcvadvocate.org/cgi-bin/masthead_logo.gif
              At the moment your server is returning a "Internal Server Error" for this URL.

              So what I suspect is that your server is configured to only serve CGI files from the CGI-BIN folder.

              Copy the image file, masthead_logo.gif, to a different folder on your web site. Then modify the URL to the image file in the search_template.html.

              Do the same for the footer image, global_hepc_logo.gif.
              Hi.. Yes I just noticed that... and was about to post you.. I'm getting closer!!! ha!!

              Comment


              • #8
                I've moved the images but still no cigar...code below

                Here is my search template. hml code


                <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" rightmargin="0" marginwidth="0" marginheight="0" onload="if (document.getElementById('zoom_searchbox')) {document.getElementById('zoom_searchbox').focus() ;}"><!--ZOOMSTOP-->
                <div id="header">
                <div><a href="http://linux.hcvadvocate.org/htdocs/Zoom_images/masthead_logo.gif"><img src="masthead_logo.gif" width="320" height="71" /></a></div>
                </div>





                <!--
                The ZOOMSEARCH tag below marks the place where your search form and search results
                will be inserted when you run the search script. By default, you do not need to place a
                search form here, the search script will generate one and display it before the search
                results.

                There are other tags you can add to this page to show/remove different elements from
                the search results. See "Advanced template options" in the Users Guide or Help file
                for more information.
                -->

                <h1>Search the HCV Advocate Site</h1>
                <p>
                Enter one or more keywords to search for using the Zoom Search Engine.<br />
                Note that '*' and '?' wildcards are supported.
                </p>
                <p>&nbsp;</p>
                <!--ZOOMSEARCH-->

                <div id="footer">
                <div> <a href="http://linux.hcvadvocate.org/htdocs/Zoom_images/global_hepc_logo.gif"><img src="global_hepc_logo.gif" border="0" height="57" width="153" /></a>


                </div>
                </div>

                </body>
                </html>

                Comment


                • #9
                  Fixed!! Images in Search Template

                  Ah.. I found another post on the wrensoft site which led me to believe that I was not indeed crazy... so I pointed to images on another site we run and "voila"!!!! It works..

                  Thanks

                  Comment


                  • #10
                    This is your mistake:

                    Originally posted by cdmazoff View Post
                    <div id="header">
                    <div><a href="http://linux.hcvadvocate.org/htdocs/Zoom_images/masthead_logo.gif"><img src="masthead_logo.gif" width="320" height="71" /></a></div>
                    </div>
                    ...
                    <div id="footer">
                    <div> <a href="http://linux.hcvadvocate.org/htdocs/Zoom_images/global_hepc_logo.gif"><img src="global_hepc_logo.gif" border="0" height="57" width="153" /></a>
                    </div>
                    </div>
                    If you goto that URL you specified (http://linux.hcvadvocate.org/htdocs/Zoom_images/global_hepc_logo.gif) you will notice its a file not found error.

                    The URL you meant is most likely:
                    http://linux.hcvadvocate.org/Zoom_images/global_hepc_logo.gif

                    Note without the "htdocs" subfolder. That folder represents the root folder of your website when browsing files directly on the web server or via FTP but it is not visible from HTTP.
                    --Ray
                    Wrensoft Web Software
                    Sydney, Australia
                    Zoom Search Engine

                    Comment


                    • #11
                      Thanks Ray

                      I finally pointed to the graphics on my other site and now everything works in this respect.. I'm not a linux guy!!

                      But hey thanks

                      CD

                      Comment

                      Working...
                      X