Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-10 00:21:13

marios
Plugin Author
Registered: 2005-03-12
Posts: 1,253

trouble with search_results form output

On download version 4.0.4
article tag, doesn’t want any other form attribute value then the custom search_results form.
I tried with the same tags, and it doesn’t output anything.

Any Ideas ?

I’d like to have a customized form for the search output, not the default search_results form

regards marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#2 2006-12-10 01:22:13

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: trouble with search_results form output

I think that is hardcoded somewhere, but you can always modify the search_results form…

Offline

#3 2006-12-10 05:14:52

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: trouble with search_results form output

Use searchform attribute.

Offline

#4 2006-12-10 12:22:13

marios
Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: trouble with search_results form output

That works, it wasn’t documented in Textbook at all, so I’ve added it there.

Would this make the if_search tag redundent, if I use it together on an article tag with the form attribute ?
Does it apply to article_custom as well ?

Thanks, and best regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#5 2006-12-10 12:32:27

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: trouble with search_results form output

It’s a relatively new attribute, I’m not sure off-hand when it appeared. But, that explains it being missing from TextBook.

article_custom isn’t context-sensitive (author, category, search…), so it doesn’t come into it.

It only makes the if_search tag redundant if that’s all you ever used it for. That’s not usually the case though.

Offline

Board footer

Powered by FluxBB