Forge
Noobie
Posts: 23
|
|
Re:[DONE] SearchNew Mod (v.06 Update)
« Reply #30 on: July 17, 2002, 01:54:19 PM » |
|
FAQ: When I click on a search result, why does it open in a different window?This is by design. The alternative is that when you click on a result it loads in the same window your search results are shown in. The SearchNew can be a very intensive process for your MySQL server. As such you want to execute it as little as possible. By having the results load in a separate window, I allow users to use the results as an index (so the costly search is executed once). Despite that, I wrote my SearchNew function to allow for this. If you read the modfications.txt file that came with it: Quote_Optional Command Lines_ I included a couple of command lines that you may find helpful.
yourboardlocation/index.php?action=searchnew;samewindow=1
Launched with the samewindow parameter, this will cause the results to open in the same window when clicked. Personally I don't like doing it this way, since hitting the back button takes too long.
So basically if you really want to do this, you should edit the subs.php file (to adjust what the searchnew icon does). Search for this line in Subs.php: $yymenu .= "$menusep<a href=\"$cgi;action=searchnew\">$img[searchnew]</a>"; After "action=searchnew" add the code ";samewindow=1" $yymenu .= "$menusep<a href=\"$cgi;action=searchnew;samewindow=1\">$img[searchnew]</a>";
|
|
|
Logged
|
|
|
|
|
|
|
|
|
|
|
|
|
|
koldnal
Full Member
Posts: 129
Erfaring er det navnet folk gir sine feiltrinn.
|
|
Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #41 on: July 21, 2002, 10:25:04 AM » |
|
Okey, with this to? 2: Unable to create 'Sources/Subs.php~': Permission denied (/home/petronas/www/endeligmamma/yabbse/Sources/Packages.php ln 406) Could you please tell me how this works? Does it make the files I change to 666 open for everyone or hmm.. Sorry, you must think I'm an idiot or something
|
|
|
Logged
|
koldnal
|
|
|
|
|
|