[SOLVED] search module help

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

[SOLVED] search module help

Post by JackOutoftheBox »

??? I am interested in anyway that you can help me restrict the search module to only a specific page or pages? I'd like to use the search box in two different ways on the site. The main search box would be to search the entire site; the secondary search box would be to search only a specific part of the site.... is this possible, through a hidden parameter, perhaps?
Last edited by JackOutoftheBox on Tue Oct 30, 2007 11:21 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: search module help

Post by RonnyK »

Jack,

the easiest option would be to install "pisearch" as well.

The default "search" can be used for the selective area, as:
How do i prevent certain content from being indexed
The search module will not search any "inactive" pages. However on occasion, when you are using the CustomContent module, or other smarty logic to show different content to different groups of users, it may be advisiable to prevent the entire page from being indexed even when it is live. To do this include the following tag anywhere on the page When the search module sees this tag in the page it will not index any content for that page.

The tag can be placed in the template as well. if this is done, none of the pages attached to that template will be indexed. Those pages will be re-indexed if the tag is removed
Pisearch would then be usable for the entire site, as that module doesn't state that it checks the .

If you create a page and mark that one, "not show in menu" on the options-tab, you can call that page, but it won't show in the menu and you're able to search all (including the visible content of the used modules), so not only content.

Ronny
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

Re: search module help

Post by JackOutoftheBox »

I have found that placing doesn't make a different with either. Am I doing something wrong?
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

SOLVED Re: search module help

Post by JackOutoftheBox »

Thank you for all of your help. From reading the discussion boards, all I needed to do was this:


Go to Extensions » Search and told it to Reindex All Content?...
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: search module help

Post by RonnyK »

Jack,

if a topic is solved, will you mark the subject-line of the first post as solved by typing [solved] in the subject-line, to make it visible for others that this one is fixed.

Ronny
Post Reply

Return to “Layout and Design (CSS & HTML)”