thanx
inserting a php search code in website template
Moderator: General Moderators
inserting a php search code in website template
hi all i realy need some held ive design my website template in photoshop and slice it and export to html in my template ive design a search box where i will put the search form wich im going to use.the php script im using is called search engine and im trying to intergrate it in my template ,the problem im facing is that every time i try inserting the search box form it opens up the layer of my template. even if i try to resize it so it would fit the space ive created for the search box it doesnt want to resize why is that?ive try creating my own search form in dreamweaver for it to work with the script it fit well and work but the problem is that i display well only in opera browser and all the other browser its a total mess with open layers of my template
.please help me out how to solve this problem or if any other method is available to insert a search feature to my website.
thanx
thanx
Re: inserting a php search code in website template
Translation:
Edit: This post was recovered from search engine cache.Hi, all. I really need some help. I've designed my website template in Photoshop, sliced it, and exported it to HTML. In my template, I've designed a search box where I will put the search form that I'm going to use. The PHP script I'm using is called "search engine", and I'm trying to intergrate it into my template. The problem I'm facing is that every time I try inserting the search box form, it opens up the layer of my template. Even if I try to resize it so it will fit the space I've created for the search box, it doesn't want to resize. Why is that? I've tried creating my own search form in Dreamweaver for it to work with the script. It fit well and worked, but the problem is that it displays well only in Opera browser; but in all the other browsers it's a total mess with open layers of my template.Please help me solve this problem or tell me if there is any other method available to insert a search feature into my website.
Thanks
Last edited by McInfo on Mon Jun 14, 2010 12:14 pm, edited 1 time in total.
Re: inserting a php search code in website template
come on guy please help me out iv try using a different aproch insted of using the search engine script iv built a batabase and use a php script that would fetch the data from it and display it on my result page but all thats giving me a hard time is that danm stupid search box that doesnt want to fit inside my template cant resize it to fit in that space i made.

Re: inserting a php search code in website template
Can you post some code?
Edit: This post was recovered from search engine cache.
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:15 pm, edited 1 time in total.
Re: inserting a php search code in website template
Re: inserting a php search code in website template
Compress whatever you have into a .zip file and upload it as an attachment. I'll see what I can do.
Edit: This post was recovered from search engine cache.
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:15 pm, edited 1 time in total.
Re: inserting a php search code in website template
hi there mcinfo ive sent you the top part of the website which im having trouble to put the seach box inside youll find it in the atachment.well ive already put the form in place but its geting a white border around it.check if you can fix that issue for me thanx in advance.
- Attachments
-
- html.zip
- (121.05 KiB) Downloaded 18 times
Re: inserting a php search code in website template
by the way what is the best search engine script do you recomand me to use ive got two scripts and i dont know which one is better the php search my sql script or the seach engine one that spider my hole html pages?and can the one that does spidering pick up the pdf form that will be available for download on my site?
Re: inserting a php search code in website template
Can you upload best.psd? Photoshop made a big mess out of this layout. I can try to build a better HTML structure if I have the design in its original form.
Edit: This post was recovered from search engine cache.
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:16 pm, edited 1 time in total.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: inserting a php search code in website template
Generally we try to solve problems in the public light, as to others may benefit from the experience. However, if you want to do his work for him thats your choice 
Re: inserting a php search code in website template
Everything is "in the public light". Everything I see you can see too by downloading the ZIP. If I write some code, I will post it. I needed the ZIP because I didn't understand what the problem was without seeing the entire HTML page with its included images. I wanted the PSD because I wasn't sure that what I saw in my browser was what the page was supposed to look like.
You're right. People shouldn't expect others to do their work for them. Sometimes, though, it takes less work to create something from scratch than to explain what is wrong with the original. Maybe the answer should be just that, "start over".
Edit: This post was recovered from search engine cache.
You're right. People shouldn't expect others to do their work for them. Sometimes, though, it takes less work to create something from scratch than to explain what is wrong with the original. Maybe the answer should be just that, "start over".
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:16 pm, edited 1 time in total.
Re: inserting a php search code in website template
The border around the form comes from the images. You exported the slices without first flattening your image. (Photoshop menu bar > Layer > Flatten Image) When you have styles applied to shapes, the styles are redrawn when the shapes are changed.
Look closely at best_02.gif and the other images around the search box to see the anti-aliasing that is causing the border. It would be better to leave the search form out of your design and put it in the HTML after the slicing.
Edit: This post was recovered from search engine cache.
Look closely at best_02.gif and the other images around the search box to see the anti-aliasing that is causing the border. It would be better to leave the search form out of your design and put it in the HTML after the slicing.
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:16 pm, edited 1 time in total.
Re: inserting a php search code in website template
everything is in the public light like mcinfo has stated if somebody is interested to follow he simply has to download the attachment.and nobody is doing anybody's work i sent the file so he'll have a better idea of what im talking about and be able to point out where im going wrong and help me get it hte right track
ill try flatening the layer like you stated and see if it help out.so you say its not a good idea to add the form to the sliced layer then if i dont that would change my design.
il try uploading the psd.
thanks again mcinfo
ill try flatening the layer like you stated and see if it help out.so you say its not a good idea to add the form to the sliced layer then if i dont that would change my design.
il try uploading the psd.
thanks again mcinfo
Re: inserting a php search code in website template
ive try to flaten the layer but still get the white border around the seach box.ive try to upload the psd but it says upload limit is only 125kb you know any software i can use to compres it?the file is 1.5mb even when ziped its still not small enough to upload.
plz advice.
or else il have to take you advice and remove the seach from the layout and place it somewere else in the html page later.
plz advice.
or else il have to take you advice and remove the seach from the layout and place it somewere else in the html page later.
Re: inserting a php search code in website template
You can keep the search box in your design, but hide the layer before you export the slices. The text box and button are HTML elements, not image elements.
Have you tried slicing the image differently or saving the banner as fewer images? I know it's possible to do your layout with 43KB of images instead of the 118KB you currently have.
Are you getting paid to create the Seychelles site?
Edit: This post was recovered from search engine cache.
Have you tried slicing the image differently or saving the banner as fewer images? I know it's possible to do your layout with 43KB of images instead of the 118KB you currently have.
Are you getting paid to create the Seychelles site?
Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 12:17 pm, edited 1 time in total.