Page 1 of 1

GALLERY and Search behaviour

Posted: Mon Aug 27, 2018 5:29 pm
by gianpiero
Hi all

I have the site not on line at this moment, 2.2.8 the version of CMSMS and GALLERY module Latest Release.
Anyway the behaviour is the same with CMS 1.9.9.3 and old version of Gallery, try to explain:

when I make a search inside my CMSMS, the module "search" see and find the "TITLE" of the Gallery, not only the page where the Gallery is.

i would like this doesn't happen because the Gallery is not opened inside the page of CMSMS but in the result page of search, if defined, or in any page when the result page is not defined

Sometime ( often ) the images are not in the template with the behaviour I choosed into Gallery module, but in a column for example, and scripts to open full view of images doesn't work.

I would like that the specific gallery is opened only inside its specific page.

Is there any way to esclude Galleries titles from "search" ?

Thanks

Re: GALLERY and Search behaviour

Posted: Mon Aug 27, 2018 7:22 pm
by gianpiero
..... I think that I have to modify the search result template ...

I'm going on :)

I found a page explaining about this, but it seems not working

viewtopic.php?f=7&t=45001

that's calling a not working page:

index.php/topic,42105.msg203179.html#msg203179

Re: GALLERY and Search behaviour

Posted: Mon Aug 27, 2018 9:00 pm
by velden
From the Search module's help:
(optional) passthru_*="null" - Pass named parameters down to specified modules. The format of each of these parameters is: "passtru_MODULENAME_PARAMNAME='value'" i.e.: passthru_News_detailpage='newsdetails'"
You might be able to pass a detail_page parameter to the Gallery module (check it's help).

Further it should be rather easy to check inside the search result template for the module and if it's Gallery skip the specific result(s).

Re: GALLERY and Search behaviour

Posted: Tue Aug 28, 2018 2:17 pm
by gianpiero
Thank velden I will take a loog ASAP, I'm not very able in this ;D