| Site-level preferences are located in TWiki.TWiki Preferences, however this Main.TWiki Preferences prefs topic has overrride priority and should be used for local customisations. This allows for easier upgrades as you don't need to worry about the shipped preferences clobbering yours. It's easier to keep a handle on if you only copy over the settings you actually change. |
(Click for form-based editing of existing preferences.)
-
FINALPREFERENCES locks site-level preferences that are not allowed to be overridden by Web Preferences or user preferences:
- Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIWEBMASTER, SMTPMAILHOST, SMTPSENDERHOST, ALLOWWEBMANAGE, PROXYHOST, PROXYPORT
- Set WIKILOGOIMG =
- Set WIKILOGOURL = /twiki/bin/view/Common/WebHome
- Set WIKILOGOALT = COPs
- Set WIKIHOMEURL = /twiki/bin/view/Common/WebHome
- #Set SEARCHVARDEFAULTTYPE = query
- Set WIKIWEBMASTERNAME = Copswiki Administrator
- Set SKIN = pattern
- Set WIKITOOLNAME = Cops Wiki?
* Set TBLEDITICON = [[$topic][<img src=\"%ICONURL{note}%\" width=13 height=13 alt=\"Detail\" border=0 />]]
* Set TBLEDITHDR = %ICON{note}%
* Set VIEWURL = %SCRIPTURL%/view
* Set MEDIAFORMAT = " * $percntIF{\"'$formfield(MediaType)'='Pictures'\" then=\"<img src=\\"%ICONURLPATH{jpg}%\\" alt=\\"Images\\" title=\\"$formfield(Title)\\" width=16 height=16 border=0 />\"}$percnt$percntIF{\"'$formfield(MediaType)'='Video'\" then=\"<img src=\\"%ICONURLPATH{mov}%\\" alt=\\"Video\\" title=\\"$formfield(Title)\\" width=16 height=16 border=0 />\"}$percnt$percntIF{\"'$formfield(MediaType)'='Audio'\" then=\"<img src=\\"%ICONURLPATH{mp3}%\\" alt=\\"Audio\\" title=\\"Audio\\" width=16 height=16 border=0 />\"}$percnt$percntIF{\"'$formfield(MediaType)'='PDF'\" then=\"<img src=\\"%ICONURLPATH{pdf}%\\" alt=\\"PDF\\" title=\\"PDF\\" width=16 height=16 border=0 />\"}$percnt$percntIF{\"'$formfield(MediaType)'='Presentation'\" then=\"<img src=\\"%ICONURLPATH{ppt}%\\" alt=\\"Presentation\\" title=\\"Presentation\\" width=16 height=16 border=0 />\"}$percnt<i>[[$web.$topic][$formfield(Title)]] $percntISNEW$nop%</i> -- $formfield(Author), $formfield(Publisher), $formfield(PubDate) $formfield(Note)"
* Set MEDIAFORMAT_NOISNEW = " * $percntIF{\"'$formfield(MediaType)'='Pictures'\" then=\"<img src=\\"%ICONURLPATH{jpg}%\\" alt=\\"Images\\" title=\\"$formfield(Title)\\" width=16 height=16 border=0 />\"}$percnt$percntIF{\"'$formfield(MediaType)'='Video'\" then=\"<img src=\\"%ICONURLPATH{mov}%\\" alt=\\"Video\\" title=\\"$formfield(Title)\\" width=16 height=16 border=0 />\"}$percnt$percntIF{\"'$formfield(MediaType)'='Audio'\" then=\"<img src=\\"%ICONURLPATH{mp3}%\\" alt=\\"Audio\\" title=\\"Audio\\" width=16 height=16 border=0 />\"}$percnt$percntIF{\"'$formfield(MediaType)'='PDF'\" then=\"<img src=\\"%ICONURLPATH{pdf}%\\" alt=\\"PDF\\" title=\\"PDF\\" width=16 height=16 border=0 />\"}$percnt$percntIF{\"'$formfield(MediaType)'='Presentation'\" then=\"<img src=\\"%ICONURLPATH{ppt}%\\" alt=\\"Presentation\\" title=\\"Presentation\\" width=16 height=16 border=0 />\"}$percnt<i>[[$topic][$formfield(Title)]]</i> -- $formfield(Author), $formfield(Publisher), $formfield(PubDate) $formfield(Note)"
* Set SUBMITMEDIALINK = %SCRIPTURL{edit}%/Common/MXXXXXXXXXX?templatetopic=Common.MediaTopicTemplate&topicparent=Common.NewsMedia&formtemplate=Common.MediaForm
* Set KEYWORDTOPICRECENTMEDIA = %SEARCH{search="form.name~'*MediaForm' AND Keywords~'*%TOPIC%*' AND PublishStatus!='Hidden'" noheader="on" nototal="on" type="query" nosearch="on" format=%MEDIAFORMAT% order="formfield(PubDate)" reverse="on" limit="20"}%
* Set KEYWORDTOPICMEDIA = %SEARCH{search="form.name~'*MediaForm' AND Keywords~'*%TOPIC%*' AND PublishStatus!='Hidden'" noheader="on" nototal="on" type="query" nosearch="on" format=%MEDIAFORMAT% order="formfield(PubDate)" reverse="on"}%
* Set CONTEXTTOPICMEDIA = %SEARCH{search="form.name~'*MediaForm' AND text~'*%SPACEOUT{%TOPIC%}%*' AND PublishStatus!='Hidden'" noheader="on" nototal="on" type="query" nosearch="on" format=%MEDIAFORMAT% order="formfield(PubDate)" reverse="on"}%
* Set ALLMEDIA = %SEARCH{search="form.name~'*MediaForm' AND PublishStatus!='Hidden'" noheader="on" nototal="on" type="query" nosearch="on" format=%MEDIAFORMAT% order="formfield(PubDate)" reverse="on"}%
* Set ALLHIDDENMEDIA = %SEARCH{search="form.name~'*MediaForm' AND PublishStatus='Hidden'" noheader="on" nototal="on" type="query" nosearch="on" format=%MEDIAFORMAT% order="formfield(PubDate)" reverse="on"}%
* Set AUTHORSEARCH = %SEARCH{search="form.name~'*MediaForm' AND (Author~'*%TOPIC%*' OR Publisher~'*%TOPIC%*') AND PublishStatus!='Hidden'" noheader="on" nosummary="on" type="query" nosearch="on" format=%MEDIAFORMAT% order="formfield(PubDate)" reverse="on"}%
* Set PUBLISHERSEARCH = %AUTHORSEARCH%
* Set CONTACTFORMAT = " * [[$topic][$formfield(NameFirst) $formfield(NameLast)]] $formfield(Email) $formfield(Phone1)"
* Set RIGHTBARFORMAT = "<tr><td bgcolor=\"#FFFFFF\" colspan=2><center><b> [[$topic][$formfield(Title,1000,\"<br/>\")]] </b>$formfield(Note,1000,\"<br/>\")$formfield(EmbedHTML)</center></td></tr>"
* Set RIGHTBARSCREENDIM = width="300" height="212"
* Set MEMBERINFOFORMAT = "|<noautolink>$formfield(NameLast), $formfield(NameFirst)</noautolink> [[$topic][<nop>]] %ISNEW% |<noautolink><span style='white-space: nowrap;'>$formfield(Address)</span><BR><span style='white-space: nowrap;'>$formfield(CityStateZip)</span><br></noautolink> $formfield(Email, 35) $formfield(Email2, 35) |<noautolink>$formfield(Phone1)<BR>$formfield(Phone2)</noautolink> |$formfield(Level)<BR>$formfield(DatePaid2008) $formfield(DatePaid) |$formfield(Interest) <br> $formfield(Lutz08Contrib) |$formfield(Note) $formfield(Tags) $formfield(Processing) | %TBLEDITICON% |"
* Set MEMBERINFOHEADER = | *Name* | *Address<BR>City, State, Zip<br>email* | *Phone1<BR>Phone2* | *Level<BR>Date* | *Interest<br>Contrib* | *Note/Tags* | *%ICON{note}%* |
* Set RELATEDTOORGSEARCH = %SEARCH{search="form.name='ContactForm' AND Organization~'*%TOPIC%*'" noheader="on" nosummary="on" type="query" nosearch="on" format=%CONTACTFORMAT% order="formfield(NameLast)" excludetopic="%TOPIC%"}%
* Set STDTOC = %TWISTY{mode="div" showlink="Show Contents " hidelink="Hide Contents " remember="on" firststart="show" showimgright="%ICONURLPATH{toggleopen-small}%" hideimgright="%ICONURLPATH{toggleclose-small}%"}%%TOC{depth="3" title="Contents"}%%ENDTWISTY%
* Set HILITE = <span style="background:yellow">
* Set ENDHILITE = </span>
* Set PHONELISTHEADERNOEMAIL = | *Name* | *Phones* | *Notes* | *%TBLEDITHDR%* |
* Set PHONELISTFORMATNOEMAIL = "|<noautolink>$formfield(NameLast), $formfield(NameFirst)</noautolink> |$formfield(Phone1)<br>$formfield(Phone2) |Paid: $formfield(DatePaid2008) <br> $formfield(Note); $formfield(LastContact) | %TBLEDITICON% |"
* Set PHONELISTHEADEREMAIL = | *Name* | *Phones* | *Email* | *Notes* | *%TBLEDITHDR%* |
* Set PHONELISTFORMATEMAIL = "|<noautolink>$formfield(NameLast), $formfield(NameFirst)</noautolink> |$formfield(Phone1)<br>$formfield(Phone2) |$formfield(Email) <br> $formfield(Email2) |Paid: $formfield(DatePaid2008) <br> $formfield(Note); $formfield(LastContact) | %TBLEDITICON% |"