|
Customizing Bible Search on your site |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The *Bible Search directory and download | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Create the directory bible_search on your website in the public_html directory like so: public_html/bible_search/ NOTES:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HOW IT WORKS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Advanced Bible Search is now highly customizable. You can change the way the program behaves on your website limited only by your imagination and web development skills. When the script is called from your site, it will first look in the *Bible Search directory on your site for the HTML files it needs. If it finds them, it uses the files on your site. If not, it uses the default templates. In order to use your own templates with this software you need to do the following. These instructions need to be followed to the letter or the software will not be able to locate your template files:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The Header and Footer FILES | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The two most important files you would probably want to customize are. Both are pretty self explanatory.
Variables used in header.html and footer.html are duplicated in search.html. See text below for details. What is important to remember is that these files DO NOT have opening or closing tags. Please take note of this. Neither have <html>, </html>, <head>, </head>, <body> or </body> tags. This information is kept in the search.html file. NOTE: If you enter opening and closing HTML tags in the header and footer files, Bible Search will display multiple Copyright notices on the page and your pages will look all weird. To customize the header and footer files simply edit them and upload to the *Bible Search directory on your site. TIP: If you add images in the header/footer files, the image tag must be an absolute link. In other words the tag must link to http://YourDomian.com/ImageLocation/ImageName.gif and NOT ImageLocation/ImageName.gif |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The Search.html File | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This is the 'main' file and is the 'container' for the other two files above. If you examine the HTML of this file, you will see it has two variable in it called $header and $footer. This is where the software inserts the entire contents of header.html and footer.html. If you do not want a header or footer, simply remove the corresponding variable. Upon further examination of the HTML you will see several more variables that begin with "$". Some you can edit, some you must not disturb or you will break the script and it won't work. For example, The variables that determine background color, font color, text color, text size etc, you can safely change but you cannot remove $result or the software will return zero results!
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NOTES:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| By manipulating the above variables, you can get the software to display just about anyway you like. If you do something special, please contact us and let us know. We will showcase your customizations! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Copyright © 2002- Webnet77.com. All Rights reserved.
TOS::AUP::Privacy