Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-03 15:28:44

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Search Titles as Well as Content

Hi,

I just did a test search for my about section, and I have an article called services, yet when I do a search for services it doesnt show this article, I noticed that my article didn’t contain the word services, and only the title. How can I get Textpattern to search Titles as well as the article content? x


~ Cameron

Offline

#2 2008-11-03 16:30:49

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Search Titles as Well as Content

Front end? Admin side? Where are youuuuuu?

Offline

#3 2008-11-03 17:06:04

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Search Titles as Well as Content

Front End :S


~ Cameron

Offline

#4 2008-11-03 17:21:33

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Search Titles as Well as Content

Strange, as both title and body are part of the full text index, and searching for a title-only term works on my test site.

Offline

#5 2008-11-03 17:22:18

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

Re: Search Titles as Well as Content

It your article sticky? Then you need the attribute searchsticky.

Offline

#6 2008-11-03 19:24:59

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Search Titles as Well as Content

yeah that seemed to be the problem, thanks. x


~ Cameron

Offline

Board footer

Powered by FluxBB