Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-06-14 23:02:59

dickybooboo
New Member
Registered: 2008-06-14
Posts: 3

Site wide search (across multiple sections)

Hi everyone,

I am new to TXP, and I want to implement a site wide search for all sections, such as blog, about, default, contact, etc. I’ve noticed that when you add the <txp:search_input /> tag, 1 section needs to be specified, so does that mean that not all sections are searchable from within the search field? Is there a way for the search to work across all sections?

thank you very much,

Offline

#2 2008-06-14 23:18:55

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Site wide search (across multiple sections)

The section attribute in txp:search_input is about the destination page (where the search results are displayed). In Presentation > Sections you can set for all sections whether or not to include them in the search.

Offline

Board footer

Powered by FluxBB