rejetto forum
Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: uvbeenzaned on November 28, 2009, 06:02:45 PM
-
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
-
Search starts in the directory you are where you call it. You can search recursive, then subfolders are included.
-
How do you add recursive to the search? Do you have to type something in?
-
i don't understand what you mean by "default file mask".
-
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.
-
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
-
Thanks man! I got it to work! Awesome! Thank you soooo much! ;D
-
Is there any way to have it search the current directory your in?
-
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.