PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 06-08-2005, 06:24 AM   #1
stefan_pl
Green Mole
 
Join Date: Jun 2005
Posts: 2
Lightbulb link after search in myurl how to do it ?

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 !
stefan_pl is offline   Reply With Quote
Old 06-08-2005, 09:12 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
In function_phpdig_form.php look for the form tag and add what's in blue:
Code:
<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:
Code:
define('SNIPPET_DISPLAY_LENGTH',150);
define('SUMMARY_DISPLAY_LENGTH',150);
__________________
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
Old 06-09-2005, 02:42 AM   #3
stefan_pl
Green Mole
 
Join Date: Jun 2005
Posts: 2
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
stefan_pl is offline   Reply With Quote
Old 06-09-2005, 12:17 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Apologies, but I'm not sure what you mean. Can you explain again or provide a screenshot?
__________________
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search results with no link drecksscheisse Troubleshooting 0 02-08-2006 03:18 AM
Excluding only one link arena75 How-to Forum 5 10-10-2004 02:46 PM
External link pirw3t How-to Forum 6 09-24-2004 04:11 PM
LINK: in search shinji Mod Requests 0 02-03-2004 09:26 AM
Link to another table Not Logged In How-to Forum 4 11-28-2003 11:30 AM


All times are GMT -8. The time now is 02:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.