All institute members are automatically listed (http://www.math.uzh.ch/index.php?id=personal) on the institute's page (as long as they are employed), including a detailed personal page with subpages for Research, CV and Publications. The data shown are either automatically generated and (optional) manually extended by the user via 'Local Info' (see below), or loaded from a directory where the user can create HTML files directly.
Via 'MY'
Go to https://www.math.uzh.ch > MY > Login > Personal homepage
- For every page (Main, Research, ...) a list of records can be created. Each record might contain text, links, pictures or PDFs for download. To style the output, use HTML.
HTML
- For this option, it is necessary to have knowledge in HTML, because the support group will not help you fixing HTML / CSS or problems of the sort. If you do not know HTML, use the offer above.
Please contact http://www.math.uzh.ch/support and ask to setup the necessary 'public_html' directory and coressponding URL.
- In your home directory, a new directory called 'public_html' will appear. Please save all of your homepage files there.
- The entry page has to be called 'index.html' (the filename has to be lowercase).
After creating new files: open a terminal (Applications > System Tools > MATE Terminal) and type setwww and press enter:
setwww
The URLs are typically: http://user.math.uzh.ch/<lastname>
Design
To create a modern homepage that can be viewed from desktop devices and smartphones alike, please refer to the following links:
bootstrap - A mobile first HTML/CSS/JQuery framework for your homepage made by twitter.
foundation - Alternative framework to bootstrap.
w3schools - A site offering tutorials and information for HTML, CSS, Bootstrap and Javascript.
List of cc0 image galleries - Creative Commons 0 images can be used freely.
Password protection
Create the file .htaccess in the access restricted directory, e.g.: ~/public_html/private/.htaccess.
- Content:
AuthName "private stuff login" AuthType Basic AuthUserFile /userpages/<surname>/.htaccessusers require valid-user
- Create or modify your user database:
# Create .htaccessusers $ htpasswd -c ~/public_html/.htaccessusers <username> # If there is a .htaccessusers file and you would like to add or alter a user/password: $ htpasswd ~/public_html/.htaccessusers <username>
Do not forget to call setwww if you create new files.
HTML Math Symbols
Math Symbols can be typed as HTML codes in modern browsers:
https://www.w3schools.com/charsets/ref_utf_math.asp
Redirect
<head> <meta http-equiv="refresh" content="0; URL=http://www.example.com/" /> </head>