rejetto forum

Search Function

0 Members and 1 Guest are viewing this topic.

Offline uvbeenzaned

  • Occasional poster
  • *
    • Posts: 38
    • View Profile
HI everyone!

I have a question.  Every time I want to search for something in my HFS file system the template takes me back to my default file mask and shows no results for the search.  Is it because it's trying to search the home/ directory and gets redirected back to default file mask? Is there a way to get it to search just that directory?  I'm using a modified version of Live 3.

Any Ideas??

Thanks,

uvbeenzaned
Antec 900 Gaming Case, Nvidia XFX 780i 3 Way SLI Motherboard, 6 GB RAM, EVGA-Nvidia GeForce 9800 GTX + and Nvidia GeForce 8600 GT using 2 Way SLI, Pentium Dual Core Processor, Core Speed=2.6 MHz, 3 Monitors, 1150 GBs of hd storage, Win7=YEAH!


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
Search starts in the directory you are where you call it. You can search recursive, then subfolders are included.
your computer has no brain - use your own !


Offline uvbeenzaned

  • Occasional poster
  • *
    • Posts: 38
    • View Profile
How do you add recursive to the search?  Do you have to type something in?
Antec 900 Gaming Case, Nvidia XFX 780i 3 Way SLI Motherboard, 6 GB RAM, EVGA-Nvidia GeForce 9800 GTX + and Nvidia GeForce 8600 GT using 2 Way SLI, Pentium Dual Core Processor, Core Speed=2.6 MHz, 3 Monitors, 1150 GBs of hd storage, Win7=YEAH!


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i don't understand what you mean by "default file mask".


Offline uvbeenzaned

  • Occasional poster
  • *
    • Posts: 38
    • View Profile
I mean my main web page that I wrote.  It redirects me back to my home directory's default file mask or main web page in other words with no results for the search. The default file mask can be found when you right click on the / directory in the virtual file system and click properties and go to the default file mask tab.
Antec 900 Gaming Case, Nvidia XFX 780i 3 Way SLI Motherboard, 6 GB RAM, EVGA-Nvidia GeForce 9800 GTX + and Nvidia GeForce 8600 GT using 2 Way SLI, Pentium Dual Core Processor, Core Speed=2.6 MHz, 3 Monitors, 1150 GBs of hd storage, Win7=YEAH!


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
sorry for the late reply.
yes, that's the cause of your problem.
if you have a default page, you will face such problem.
please refer to it as "default page", because we call "default file mask" something slightly different.
i just tried right now, and found a possible workaround.
you must edit your search form (i guess in your template, but it may possibly be also in your default page).

(double-quotes not included)
after "<form "
you should add " action='~nodefault' "

and also you should enable Menu > Other options > Enable ~nodefault


Offline uvbeenzaned

  • Occasional poster
  • *
    • Posts: 38
    • View Profile
Thanks man!  I got it to work!  Awesome!  Thank you soooo much! ;D
Antec 900 Gaming Case, Nvidia XFX 780i 3 Way SLI Motherboard, 6 GB RAM, EVGA-Nvidia GeForce 9800 GTX + and Nvidia GeForce 8600 GT using 2 Way SLI, Pentium Dual Core Processor, Core Speed=2.6 MHz, 3 Monitors, 1150 GBs of hd storage, Win7=YEAH!


Offline uvbeenzaned

  • Occasional poster
  • *
    • Posts: 38
    • View Profile
Is there any way to have it search the current directory your in?
Antec 900 Gaming Case, Nvidia XFX 780i 3 Way SLI Motherboard, 6 GB RAM, EVGA-Nvidia GeForce 9800 GTX + and Nvidia GeForce 8600 GT using 2 Way SLI, Pentium Dual Core Processor, Core Speed=2.6 MHz, 3 Monitors, 1150 GBs of hd storage, Win7=YEAH!


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i can see the rawr template has this text in the source
<form action="/"

well, you should delete the action="/" to search in current folder.