WikiMatrix

#1 2007-09-26 13:20:18

biplab
Member
Registered: 2007-09-26
Posts: 1

Search box

in searchbox.nat.tmpl  what is the use of %IFSKINSTATETHEN{searchbox="pos[123]"}%

Offline

 

#2 2007-11-24 21:58:29

PeterThoeny
Member
From: San Jose, CA
Registered: 2005-12-14
Posts: 230
Website

Re: Search box

Please ask support questions in the Support web on twiki.org.

-- peter.thoeny.public AT twiki DOT net - http://www.twiki.net/ - http://twiki.org/

[1]: http://twiki.org/cgi-bin/view/Support/WebHome

Offline

 

#3 2008-02-14 15:11:52

nuddlegg
Member
From: Germany, Hamburg
Registered: 2008-02-14
Posts: 2
Website

Re: Search box

%IFSKINSTATETHEN{}% is a tag implemented by the NatSkinPlugin that accompanies the NatSkin.It was once added to have conditionals in templates. It is comparable to the %IF{}% command or the context sensitive templating that have been added in TWiki-4.1.x. See also the IfDefinedPlugin for a similar yet more general way of conditionals in TWikiMarkup.

%IFSKINSTATETHEN{}% is just able to access the internals of the NatSkin theme engine.searchbox="pos[123]" means: "match all layouts where the searchbox is in position 1, 2 or 3.


Michael Daum Consulting
Professional Wikis
WikiRing Founding Partner
http://michaeldaumconsulting.com

Offline

 

You are not logged in.


Board footer

Forum powered by PunBB (© 2002–2005 Rickard Andersson)