View Single Post
  #3  
Old 12-04-2005, 05:07 PM
SoapinTrucker's Avatar
SoapinTrucker SoapinTrucker is offline
Member
 
Join Date: Jul 2005
Location: Fresno, California
Posts: 38
Thumbs up

If you change the content of subtext 2 & 3, you will still end up with the two trailing hypen marks, or *dash* marks after the "link" or subtext 1, for example:

Hillside Sedona - Welcome [Relevance: 0.60]
... 's Finest Shopping and Dining ...
Link: http://hillsidesedona.com/ - -

To make it look like this:

Hillside Sedona - Welcome [Relevance: 0.60]
... 's Finest Shopping and Dining ...
Link: http://hillsidesedona.com/

If you have the bar graph image turned "on" (line 154 of the configure file) do this:

Go into the main file (tdSearch.php or if you named it index.php go there...) and find line 729 or so, look for:

Code:
$block_results[$i][$run_thru4] . " - " . $block_results[$i][3] . " - " .


change this code to:

Code:
$block_results[$i][$run_thru4] . " " . $block_results[$i][3] . " " .


This clears the hyphen or dash mark!

If you have the bargraph image turned "off", do this:

goto line 740, find:

Code:
$block_results[$i][$run_thru4] . " - " . $block_results[$i][3] . " - " .


And change to:

Code:
$block_results[$i][$run_thru4] . " " . $block_results[$i][3] . " " .


There are a couple more "else if" or "for" loop areas (lines 726-759 or so)that may need to be looked at for your specific configuration, but the whole idea is to blank out the " - " to " " which eliminates the trailing hypen marks

SoapinTrucker

p.s.-when you go into language.php to edit the subtext, you can also add some HTML to the words used IN the subtext. For example, I changed "Link:" to "URL:" and made it bold by adding the HTML tag <B>URL:</B>. I have not tried to change the font properties yet, maybe later

see: http://waazi.tayon.com for live examples of all I mentioned
Reply With Quote