View Full Version : Template images and form codes
01-20-2005, 10:55 PM
I tried to use our template to create a new page for our search engine. It is searching fine, but the images for the template do not appear and the form is in 2 places on the search page of our website. I am using dream weaver to edit. Can you take a look and see if the codes are correct.
The images (and many of the links) in your search_template.html file are incorrect created. You have linked them to the file on your computer's hard disk (eg. "file:///J|/EOCWEBSITE/images/logomain.gif") instead of using a path relative to your website (eg. "images/logomain.gif").
Check your settings in Dreamweaver, and make sure you are creating relative links. Consult your Dreamweaver manual and Help file for more information.
As for the two search forms, this is because you have removed the keyword (which is required in the search_template.html file) and you also cut+pasted your own search form onto the page.
Typically, you do not need to create a search form in the search_template.html file (unless you wish to make some radical changes to its appearance). Instead, you DO need to have the HTML comment "" on a line, where you want the form (and search results) to appear.
For more information, refer to Chapter 5.6 in our Users Guide:
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.