Jump to content

Simple search result layout issue


zsadie

Recommended Posts

FIXED IT!!!

I must apologize first for my lack of technical verbage when it comes to php. I'm very new at this and basically digging into to someone else's php script with this site.

First here is the link to the page, I'm having troubles with: [a href=\"http://www.mediapositiveradio.com/searchit.php\" target=\"_blank\"]http://www.mediapositiveradio.com/searchit.php[/a] (You may need to hit the "retry" button.)

There are three php pages associated with the functionality of the search capability on the site: searchit.php, search.php, search2.php. As someone else programmed this and I'm VERY new to php, I need help in determining what script I need to use and where to place it in order to fix the layout issue. The search results appear at the bottom of the template, when it should appear obviously in the "blank" space. Right now the results appear at the bottom. I found the following code in searchit.php and by playing around with the order of the "includes" I can move the results above or below.

<?php

//SEARCH IMPLEMENTATION

$title="Search at Media Positive Radio";
$description="Search Results.";
$keywords="search";
include "templates/top.php";
include "search2.php";
include "templates/bottom.php";

?>

obviously I'm dealing with templates here, and there maybe some adjusting that needs to be made in the "top.php"? Unless there is another way????

Any help anyone is willing to give will be greatly appreciated!!

many thanks!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.