TWiki
>
CF Web
>
Software
>
WebCapabilities
>
LookAndFeelImplementation
(2008-08-11,
IsaacMorland
)
(raw view)
E
dit
A
ttach
---+ UW Web "Common Look and Feel" Implementation The CSCF implementation of the UW CLF makes us of a database backend to store side menu options. These options are hierarchical and a CGI-based system automatically generates the menu contents based upon the contents of the database. Server-side includes (SSI) are used to make the actual files edited by users as simple as possible. ---++ Using the Common Look and Feel To start using the common look and feel, simply start with the sample file at http://www.cs.uwaterloo.ca/cscf/web/template.txt. To see what this file looks like on the web, visit http://www.cs.uwaterloo.ca/cscf/web/template. Note that you *must* download and start from the =.txt= sample, not the “what this file looks like” link. The left-hand menu is hierarchical and can be edited. Portions of the menu structure can also be hidden, meaning they will only be visible from within themselves. If you would like to be able to edit your portion of the menu tree, please contact [[Main.IsaacMorland][Isaac Morland]]. More information is available at http://www.cs.uwaterloo.ca/cscf/web/. ---++ Implementation Components Each virtual host has its own document root containing the documents to be served by that virtual host. Files that are part of the CLF implementation are mapped into the =/templates/= URL space using an Apache =Alias= directive in the main server configuration. This means that =/templates/= on all virtual hosts is the same set of files. ---++ Differences from other UW CLF Implementations The most important difference is in the side menu, which is fully hierarchical and editable by web authors. Authorization is hierarchical so for example the person in charge of =/grad/= can be given access to change only the menu items corresponding to children of =/grad/=. The menu items which appear on the front page correspond to top-level directories and are editable only by somebody with authority over the entire web server. ---++ Limitations Menus are stored only in the database, so there is no way to create a program-generated menu subtree, for example for a set of archives where it might be nice to generate options for every year automatically. -- Main.IsaacMorland - 03 Mar 2006
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r4 - 2008-08-11
-
IsaacMorland
CF
Information in this area is meant for use by CSCF staff and is not official documentation, but anybody who is interested is welcome to use it if they find it useful.
CF Web
CF Web Home
Changes
Index
Search
Administration
Communication
Email
Hardware
HelpDeskGuide
Infrastructure
InternalProjects
Linux
MachineNotes
Macintosh
Management
Networking
Printing
Research
Security
Software
Solaris
StaffStuff
TaskGroups
TermGoals
Teaching
UserSupport
Vendors
Windows
XHier
Other Webs
CSEveryBody
Main
Sandbox
TWiki
UW
My links
People
CERAS
WatForm
Tetherless lab
Ubuntu Main.HowTo
eDocs
RGG NE notes
RGG
CS infrastructure
Grad images
Edit
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback