PDA

View Full Version : Hi everyone


snipkes
10-25-2004, 05:57 AM
Hey everyone,

how's it going? I'm a new, inexperienced website guy who's trying to add a search function to my site. I've been poring through the forums the whole afternoon and decided that I should say "hi" first!

By the way, has anyone run across this problem? I've indexed a small web at (matt28.worshipworld.net).
When I run the search page at
http://www.worshipworld.com/Search/search.php

it does fine in the results. But when I try to run the identical file (changing only the $relative_script_path variable to match the correct path in
http://matt28.worshipworld.net/search.php

I get just a blank screen. I know the path's correct because when i left it unchanged I got a "cannot find" error... but in this case it's just a blank. Any ideas?? I'm completely lost.
Wes

vinyl-junkie
10-25-2004, 07:57 AM
Hi, snipkes, and welcome to the forum. :D

Making a search page outside of your phpdig directory can be a little tricky. Here (http://www.phpdig.net/forum/showthread.php?t=839) is an older post with some guidelines on how to do that. I believe there have been some slight differences in phpdig since that thread, but hopefully you'll be able to get a sense of how to do this.

If you still need help though after reading that, please don't hesitate to ask.

snipkes
10-27-2004, 09:28 AM
Thanks, vinyl-junkie!

The search box worked wonderfully! As for the custom template, I had to resort to hard-coding all the hyperlinks in full (instead of putting the relative links) so that the pictures appear. It's hardly elegant :P but we'll definitely find a way as my PHP knowledge improves in time. If you want to see my work-in-progress:

http://matt28.worshipworld.net/search.htm
http://www.worshipworld.com/Search/search.php

C'ya around!

snipkes

vinyl-junkie
10-27-2004, 04:32 PM
Impresssive! :banana: I hope you found the instructions easy to follow. If you need any more help, feel free to ask. :)