| Instant TWiki Site Enhancements
These quick enhancements are aimed at improving and customising your TWiki. New TWiki site administrators are especially encouraged to review this document for ideas before deploying a new TWikiSite. The metaphor of building a house is useful. The listed enhancements are some of the details possible when moving into a new office or home. These small changes can make a big differences for user satisfaction at your site. All modifications can be done through your Web browser, and they don't take more then in a couple of minutes. No system administration expertise is required. Some of these enhancements are also mentioned in the reference manual and other topics. |
|
Creating image variables |
|
< < | You may find it easier to write shorthand graphic notation. You can create your own image variables by defining them in a preference topic (most likely Main.TWikiPreferences.) |
> > | You may find it easier to write shorthand graphic notation. You can create your own image variables by defining them in a preference topic (most likely Main.TWikiPreferences.) |
|
A variable name may be one letter, like Y , or may be longer like HELP , WARN etc. You can also add your own images, e.g. a NEW , or a ASK to ask question. |
| Hidden Edit Lock for Individual Topics
When you're creating main gateway pages, you may want to temporarily (or permanently) restrict editing to yourself or a limited group of people. You can do this with a Preference setting that includes one or more users and groups. Only auhorized users will be able to use Edit . |
|
< < |
- Example:
Set ALLOWTOPICCHANGE = Main.UserName, Main.GroupName
|
> > |
- Example:
Set ALLOWTOPICCHANGE = Main.UserName, Main.GroupName
|
|
- To hide the setting: Use HTML comment tags - put
<!-- on the line _above the setting, and --> on the line below.
|
| Other cusomtisations are possible using WEBLOGOIMG , WEBLOGOURL , and WEBLOGOALT (they mirror the WIKILOGO* TWiki variables, but are applied to each web, rather than to the %WIKITOOLNAME%-based references)
If you'd like to have the same customised logo for all the webs, make these changes in TWikiPreferences instead of each web's WebPreferences, e.g., |
|
< < |
-
Set WEBLOGOIMG = %PUBURLPATH%/Main/WebPreferences/mylogo.gif
|
> > |
-
Set WEBLOGOIMG = %PUBURLPATH%/Main/WebPreferences/mylogo.gif
|
|
Customize Topic Classification Forms |
|
Add Your Favorite JavaScript Features |
|
< < | You're no doubt familiar or better with HTML, JS, and "webmastering". Without getting into the TWikiTemplates system yet, you can easily edit the view.tmpl (in the templates directory) for some dramatic effects. The top of the template is mostly regular HTML with some variables. Open up some space in the <head> area, and you can drop in reliable JavaScripts - a pop-up window script, for example - or tag it as an external script. |
> > | You're no doubt familiar or better with HTML, JS, and "webmastering". Without getting into the TWikiTemplates system yet, you can easily edit the view.pattern.tmpl (if you are using default pattern skin) (in the templates directory) for some dramatic effects. The top of the template is mostly regular HTML with some variables. Open up some space in the <head> area, and you can drop in reliable JavaScripts - a pop-up window script, for example - or tag it as an external script. |
|
- Obviously, you can do the same - place a link to an external stylesheet as well. If you set values for standard HTML tags, you can control a good deal of the type size, style and color with out adding CSS tags. example
|