|
03-12-2004, 01:48 AM | #1 |
Orange Mole
Join Date: Nov 2003
Posts: 41
|
HAHA hello again, I have a new question...
on my search results pagei want to keep the width of the results down to about 450 pixels, because at the moment it displays the address of each search results page and the addresses are really long, I've changed it before but now i can't remember how to restrict the width of each search result on screen, any ideas? cheers. |
03-12-2004, 10:55 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. If you want to truncate the URL, search for complete_path in the search_function.php file and perhaps do a substr on it.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
03-13-2004, 11:09 AM | #3 | |
Orange Mole
Join Date: Nov 2003
Posts: 41
|
oh I see, i've found that
Quote:
cheers, alex. |
|
03-13-2004, 11:12 AM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Try something like:
'complete_path' => substr($url,0,X)."...", where X is the number of characters you want to show.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
03-13-2004, 11:21 AM | #5 |
Orange Mole
Join Date: Nov 2003
Posts: 41
|
Man, Your a STAR!!
That simple bit you showed me has just taught me so much and everytime i see something work like that I just get more and more impressed and clear minded about all this scripting, It worked at treat, thankyou!!!! Bigals. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No most searched terms, biggest results, most 0 results, last search queries, etc. | jongag1 | How-to Forum | 6 | 04-22-2005 11:43 AM |
Forum width to 100% please | Rolandks | Feedback & News | 3 | 02-11-2005 11:10 AM |
¿Why the label <phpdig:complete_path/> change the width of the tables? | zertiko | How-to Forum | 2 | 07-26-2004 07:49 PM |
Searchfeed results displayed with phpdig results | Nosmada | How-to Forum | 1 | 01-04-2004 12:39 PM |