rejetto forum
May 24, 2012, 11:32:46 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: search in a hidden folder  (Read 1195 times)
0 Members and 2 Guests are viewing this topic.
ladiko
Experienced poster
***
Offline Offline

Germany Germany

Posts: 75


View Profile
« on: November 25, 2007, 06:35:33 PM »

hello :-)

if i am in the folder blubb and type blabla into the search box it redirects me to
%host%/?search=blabla
ok that's fine for the moment. but if the folder blubb is hidden, the search doesn't work for this folder. the search seems to not work for hidden subfolders in general. this means i need a modified search box that always redirects to
%host%/%folder-path%/blubb?search=blabla
cause this is showing me the search result for files inside of this hidden folder.

what should i change? thank you in advance :-)
« Last Edit: November 25, 2007, 06:38:55 PM by ladiko » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #1 on: November 25, 2007, 06:46:33 PM »

if you have a hidden folder, you probably want to hide its content.
i can search for "a" or "e", and sure i would find some content of the hidden folder, thus i would discover it very easily.
this is not a good policy.

if you have any suggestion, post it.
Logged
ladiko
Experienced poster
***
Offline Offline

Germany Germany

Posts: 75


View Profile
« Reply #2 on: November 25, 2007, 07:03:03 PM »

Yes it's wanted that %host%/?search=blabla doesn't list the content of hidden subfolder! That's ok :-)
And it's also ok that %host%/MyHiddenFolder/?search=blabla lists the files inside of this hidden subfolder - cause it seems like this person know the hidden folder's name.

my problem is:
If i use the search box that is provided by Terayon template on the page %host%/MyHiddenFolder/ it doesnt redirect me to %host%/MyHiddenFolder/?search=blabla but to %host%/?search=blabla ... this means the search result is empty and i have to edit the url to %host%/MyHiddenFolder?search=blabla and press [return] every time.

maybe now it is more obvious what i mean? and my question is: what should i edit in the template to let the search box direct to the search result for the current folder and not for the whole host.
« Last Edit: November 25, 2007, 11:46:45 PM by ladiko » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #3 on: November 25, 2007, 07:19:22 PM »

yes, now it is clear.
see if there is action='/'
and remove it.

i will have to face a similar problem in the default template Undecided
Logged
ladiko
Experienced poster
***
Offline Offline

Germany Germany

Posts: 75


View Profile
« Reply #4 on: November 25, 2007, 11:45:22 PM »

yes that's it! great rejetto Smiley

now the problem with the "false" logged in user for the root is also solved without the workaround --> http://www.rejetto.com/forum/index.php?topic=5258.0

today is like christmas and birthday on one day
« Last Edit: November 25, 2007, 11:50:45 PM by ladiko » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 07, 2012, 10:23:30 PM