View Single Post
Old 01-05-2004, 11:53 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. For question one, using <phpdig:complete_path> as an example, to find where this is defined, search for complete_path in the PHP files. Doing this shows complete_path to be in the search_function.php file.

Now searching on complete_path in the search_function.php file shows the following:
PHP Code:
'complete_path' => $url
This is one of the key value pairs in the $table_results array. The key complete_path gets the vaule $url, so searching the search_function.php file again for $url shows $url defined as follows:
PHP Code:
$url eregi_replace("([a-z0-9])[/]+","\\\\1/",$content['site_url'].$content['path'].$content['file']); 
The $url variable is also used in page_link so changing its definition affects both complete_path and page_link.

For question two, from PhpDig 1.6.4+ there is the following option in the config.php file:
PHP Code:
define('NUMBER_OF_RESULTS_PER_SITE',-1);  //max number of results per site
                                         // use -1 to display all results 
For question three, it looks like you want to implement a server-side screen reader. While I am not aware of such a program, you might find this article on client-side screen readers useful.
__________________
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.
Charter is offline   Reply With Quote