• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

http://develop.twiki.org/~develop/cgi-bin/search/Main/?search=variable;skin=plain

returns

TWiki Installation Error Incorrect format of search template (missing sections? There should be 4 %SPLIT% tags)

-- SD

The purpose of the plain skin is just to view topics without page decoration. I do not recall that there is a link to search with the plain skin. Do you have a need for that?

Hmm, there is a bug, it should fall back to the classic skin if a skin template is not available.

Compare with Cairo code:

http://twiki.org/cgi-bin/search/Sandbox/?search=variable&skin=plain

-- PTh

Filed Item1301

-- PTh

This is a problem with the default search template. This defines various macros, and then includes the "view" template. The plain view template doesn't expand the macros - it is a simple view. Since the code assumes the existence of the SPLIT tags in the text, it fails.

The templates in Cairo worked differently (they didn't have this delegation of responsibility to the view template).

We could revert the search template to the old "big" form, but by so doing we throw away all Arthurs work in rationalising the templates. Or we could throw away view.plain.tmpl - I'm not sure why we have it, TBH. Or we can redefine view.plain.tmpl so it fits with the other templates.

Decided to change vaiew.plain.tmpl so it fits with the default templates. If plain is going to be a skin, it really should be shaved off into a Contrib.

CC

ItemTemplate
Summary bad search template in plain skin?
ReportedBy SvenDowideit
Codebase

SVN Range Tue, 03 Jan 2006 build 8080
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 8086
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2006-01-04 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback