PDA

View Full Version : link after search in myurl how to do it ?


stefan_pl
06-08-2005, 05:24 AM
i have problem my site is in frames and i need to do it that when someone clik on search button the results would be displayed in "my" frame have anyone some suggestions ? and one more i see that spider displays only about 200 words from the page in which he had found matches how to do it to display for example first 100 words before and 100 words after founded phrase ? thx for all answers btw script is great !

Charter
06-08-2005, 08:12 AM
In function_phpdig_form.php look for the form tag and add what's in blue:

<form target='FRAME_NAME' blah blah...

There are three spots to edit the form tag in function_phpdig_form.php.

In the config file look for the following and set lengths as desired:

define('SNIPPET_DISPLAY_LENGTH',150);
define('SUMMARY_DISPLAY_LENGTH',150);

stefan_pl
06-09-2005, 01:42 AM
thanks for quick answer this with target it was so simple ... but what's funny i couldn't find it nowhere and with this results it's not that i mean it snippet and summary displays only description and keywords, my sites are so constructed that those which are in last level have no tags like description and other.. soo is it possible to do it only with the site text ? where to change it ? greetings from poland stefan

Charter
06-09-2005, 11:17 AM
Apologies, but I'm not sure what you mean. Can you explain again or provide a screenshot?