Pisearch not to show results from restricted pages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
FinnK

Pisearch not to show results from restricted pages

Post 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?
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Pisearch not to show results from restricted pages

Post 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
Piratos

Re: Pisearch not to show results from restricted pages

Post by Piratos »

There is an error in the language file

The parameter is not ex=  it is

exclude="0/1"
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Pisearch not to show results from restricted pages

Post by Russ »

Yes it works, of course :)

Russ
FinnK

Re: Pisearch not to show results from restricted pages

Post 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?
Piratos

Re: Pisearch not to show results from restricted pages

Post 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.
Last edited by Piratos on Tue Jun 06, 2006 4:18 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Pisearch not to show results from restricted pages

Post 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?...
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Pisearch not to show results from restricted pages

Post by Russ »

What templates you using? Did you create the results page?

Russ
FinnK

Re: Pisearch not to show results from restricted pages

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Pisearch not to show results from restricted pages

Post by Dr.CSS »

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

Post 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.
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

Post 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?
Locked

Return to “CMSMS Core”