Pisearch not to show results from restricted pages
-
FinnK
Pisearch not to show results from restricted pages
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?
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
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
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
-
Piratos
Re: Pisearch not to show results from restricted pages
There is an error in the language file
The parameter is not ex= it is
exclude="0/1"
The parameter is not ex= it is
exclude="0/1"
Re: Pisearch not to show results from restricted pages
Yes it works, of course 
Russ
Russ
-
FinnK
Re: Pisearch not to show results from restricted pages
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?
{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?
-
Piratos
Re: Pisearch not to show results from restricted pages
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! :
{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.
Last edited by Piratos on Tue Jun 06, 2006 4:18 pm, edited 1 time in total.
Re: Pisearch not to show results from restricted pages
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?...
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
What templates you using? Did you create the results page?
Russ
Russ
-
FinnK
Re: Pisearch not to show results from restricted pages
Piratos:
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?
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! :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
it was a strait up install with the default results page created on install (that was cool)
-
Piratos
Re: Pisearch not to show results from restricted pages
Parameter exclude="1" expages="names_of_the_alias,another_name,another_name" or pageid.excluding a page
Automatically exclude of childs not at this time.
Last edited by Piratos on Wed Jun 07, 2006 2:46 pm, edited 1 time in total.
-
FinnK
Re: Pisearch not to show results from restricted pages
Mark:
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?
Code: Select all
it was a strait up install with the default results page created on install (that was cool)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?


