rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: Awesoft on December 10, 2007, 10:07:42 PM
-
I have my homepage (.html) and a protected shared folder (hfs) with some folders/files on it.
When I try to search anything, it redirects to the main page.
Where is the problem?
-
no problem
look into your template and find it
{{if| {{get|can recur}} |
<td nowrap>
<div class=button>
<form action='/' style='width:160px'>
<input name=search size=10 value="{{urlvar|search}}">
<input type=submit value=search>
</form>
</div>
action='/' redirects you to root page, you can change it by action='%folder%' to begin search from current folder
-
no problem
look into your template and find it
{{if| {{get|can recur}} |
<td nowrap>
<div class=button>
<form action='/' style='width:160px'>
<input name=search size=10 value="{{urlvar|search}}">
<input type=submit value=search>
</form>
</div>
action='/' redirects you to root page, you can change it by action='%folder%' to begin search from current folder
It works with action='/Folder/'
Thanks a lot.
-
I have another question:
After doing a search, the "UP" link doesn't works like parent (..), but it backs to the root (in this case, my homepage)
:-\
-
not for me, all is ok with
{{if| {{get|can recur}} |
<td nowrap>
<div class=button>
<form action='%folder%' style='width:160px'>
<input name=search size=10 value="{{urlvar|search}}">
<input type=submit value=search>
</form>
</div>
-
It works with action='/Folder/'
remove the action='ANYTHING' and it will work.
it's much better.
After doing a search, the "UP" link doesn't works like parent (..), but it backs to the root (in this case, my homepage)
try the solution i told you. the up should work normally.
-
It works with action='/Folder/'
remove the action='ANYTHING' and it will work.
it's much better.
After doing a search, the "UP" link doesn't works like parent (..), but it backs to the root (in this case, my homepage)
try the solution i told you. the up should work normally.
After the search is completed, "UP" button links to "http://localhost" (not "http://localhost/Privado")
???
(http://i44.photobucket.com/albums/f36/Awesoft/hfs.png)
-
your template has a section [up]
can you copy it into a post?
-
as mars guessed, the [up] of your template is probably not compatible.
it should link to ".."
-
Another possibility is that you confuse the information
if you make a search in folder privado, he is the current folder and up is the link to root
add a folder under privado like test and go to it
make a search in test, you receive NO FILES
place your mouse over the link UP and see what is the url in your status bar
-
Main "shared" page:
(http://i44.photobucket.com/albums/f36/Awesoft/1-2.png)
Searching a file:
(http://i44.photobucket.com/albums/f36/Awesoft/2-2.png)
After a search. (UP button (Atrás) should link to "/Privado/Programas/")
(http://i44.photobucket.com/albums/f36/Awesoft/3-1.png)
-
The conclusion is that you have no problem, what you obtain is completely normal :D
;D Be delighted! ;D
you can use this up section
(extracted from HFS Terayon v1.2.1)
[up]
<span class="cattitle"> :: <script type="text/javascript">pathTreeArray = path.split('/'); for (i=1; i<pathTreeArray.length; i++) {pathTreeArray = '/'+pathTreeArray; pathTree = pathTree+pathTreeArray; document.write('<a href="'+pathTree+'" class="cattitle">'+pathTreeArray+'</a>')}; </script></span>
-
it's just a bad translation to spanish.
the original is UP not BACK.
while atràs is BACK in spanish.
my advice is to use the big LEFT arrow in your browser, that's just the atras you are searching for :)
-
I think it would have to be "Back to folder" instead of "UP" from "search results" page. (like the "Upload results" page). Meanwhile I'll click on "Atrás" button :)
Thank you.
-
i'll work on it