Page 1 of 1
Pisearch not to show results from restricted pages
Posted: Mon Jun 05, 2006 11:43 pm
by FinnK
Pisearch works great, but I cannot stop it from showing results found in restricted memberpages.
www.filmklippere.com/cms
The searchform is on the frontpage, pages under menu-item "MEDLEMSSIDER" is restricted - but Pisearch gives a little peek into this content when it shows the context in which the searchword was found. Of course CustomContent stops the attemt to jump to the page, but it is a bit annoying.
I have tried this
{cms_module module="pisearch" action="showform"
ex="1" expages="MEDLEMSSIDER" } both in the searchform part and in the showresult page, but it doesn't stop Pisearch from showing this little peek into the "secret" page.
What do I do wrong?
Re: Pisearch not to show results from restricted pages
Posted: Tue Jun 06, 2006 7:15 am
by Russ
I've not tried the newest version yet, but what you are right it doesn't seem to work?
When it is working, you should also exclude your e-mail form if you have one, otherwise you can search for part of your e-mail address (e.g. domain) and it will show the whole e-mail address can be revealed - at least on version 1.0.
Russ
Re: Pisearch not to show results from restricted pages
Posted: Tue Jun 06, 2006 11:25 am
by Piratos
There is an error in the language file
The parameter is not ex= it is
exclude="0/1"
Re: Pisearch not to show results from restricted pages
Posted: Tue Jun 06, 2006 3:11 pm
by Russ
Yes it works, of course
Russ
Re: Pisearch not to show results from restricted pages
Posted: Tue Jun 06, 2006 3:49 pm
by FinnK
Sorry, but for me this still doesn't work.
{cms_module module="pisearch" action="showform" exclude="1" expages="MEDLEMSSIDER" lang="nb_NO"} shows results found in pages under menu item MEDLEMSSIDER.
I made a Norwegian lang file by copying the english one and translated the parts I needed. (It doesn't show in the Norvwgian translation center)
What to try next?
Re: Pisearch not to show results from restricted pages
Posted: Tue Jun 06, 2006 4:05 pm
by Piratos
These are not parameters for the form (template), they are parameters for the recieving page pisearch.
{cms_module module="pisearch" action="showresults" exclude="1" expages="MEDLEMSSIDER" lang="nb_NO"}
Take a look in the helptag! :
Parameters ?
The following parameters must be set in tag of the page Pisearch.
Re: Pisearch not to show results from restricted pages
Posted: Wed Jun 07, 2006 3:39 am
by Dr.CSS
what am i doing wrong... i'm not ?
http://www.multiintech.com/index.php?page=Home
search box...
type anything and you get a page full of tags like the "tags on this page" page...
i've deleted that page?...
Re: Pisearch not to show results from restricted pages
Posted: Wed Jun 07, 2006 7:18 am
by Russ
What templates you using? Did you create the results page?
Russ
Re: Pisearch not to show results from restricted pages
Posted: Wed Jun 07, 2006 10:10 am
by FinnK
Piratos:
Code: Select all
These are not parameters for the form (template), they are parameters for the recieving page pisearch.
{cms_module module="pisearch" action="showresults" exclude="1" expages="MEDLEMSSIDER" lang="nb_NO"}
Take a look in the helptag! :
I did read the Helptext several times and I think maybe it could be explained a little clearer that those prarmeters is for the display part of the pisearch tag only.
It is now working as described. Is there a way of excluding a page - and all it's childs? With that option one could exclude the whole memberpages part of the site in one go, instead of making a loooong list of pages to be exluded. ...or perhaps a way to exclude all pages using a spesific page template?
Re: Pisearch not to show results from restricted pages
Posted: Wed Jun 07, 2006 12:53 pm
by Dr.CSS
it was a strait up install with the default results page created on install (that was cool)
Re: Pisearch not to show results from restricted pages
Posted: Wed Jun 07, 2006 2:43 pm
by Piratos
excluding a page
Parameter exclude="1" expages="names_of_the_alias,another_name,another_name" or pageid.
Automatically exclude of childs not at this time.
Re: Pisearch not to show results from restricted pages
Posted: Wed Jun 07, 2006 6:51 pm
by FinnK
Mark:
Code: Select all
it was a strait up install with the default results page created on install (that was cool)
Yes, it was a very simple install! A Pisearch page appeared on the top of the admin/pages page. When I opened it for editing it was sent to the bottom since it was the last page added and it doesn't have any parent. It defaults to not to show in the menu.
It works great, but I find it a bit slow on my site - it may be a server/MySQL case? - Since it is slow for me - is there a way to display a "Please wait - search is going on" message?