![]() |
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. |
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.
|
oh I see, i've found that
Quote:
cheers, alex. |
Hi. Try something like:
'complete_path' => substr($url,0,X)."...", where X is the number of characters you want to show. |
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. |
All times are GMT -8. The time now is 12:19 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.