Contents
1. Introduction
2. Filemanager
2.1 Multiple file upload
3. Class pages
The file manager's main functions are:
- Uploading a single file or multiple files from the computer you are working on to the server where Site@School is running.
- Creating directories.
- Deleting files and directories.
All these functions can be performed on two places in the file manager:
- In 'File manager' itself, where you manage your school site.
- In the 'Class pages', where you can upload and delete files and create directories for pupils and teachers.
Multiple upload is not available here because pupils will mainly use the pupils' editor to upload.
We will treat these two items separately.
(top)
By clicking on
,
you enter the file manager:

fileman_start.jpg
Explanation:
- File manager: When opening the file manager this is the default window. When you have been working in 'class pages' you can use this link to return to the file manager.
The file manager is the heart of S@S where you manage files and directories that relate to the CMS itself.
NOTICE: Do NOT use the file manager to delete or upload materials to the 'gallery' and the 'downloads' directories.
Up- and download as well as deleting materials is done in the modules that use these directories,
i.e. the ALLbum module uses the gallery directory and the Up/Download module uses the downloads directory..
- Class pages : The link gives access to the file manager of the pupils and teachers pages. We shall come back on it when we explain it in full detail (see 3. Class pages).
- Upload file: Here you can upload files from your local computer to the Site@School server.
You first have to select a file on your computer by clicking on:
- 'Browse' button: Then you should see the file manager of your computer. Choose a file and you will see it's name appear in the text area.
Be aware to choose your target directory before choosing a file to upload.
- 'Save' button: click on it and your chosen file will upload to the server. Depending on the size of the file and the speed of your connection, this can take some time.
- New directory: Here you can create a new directory under the /path/to/your/starnet/media directory (see below).
When you create, for example, 'a_new_directory', and click on...
- 'Save': ... you will see the new directory.
NOTICE: Do not use spaces or special characters in directory names. See section 4. Building your site; some advice of the Installation chapter for details.
NOTICE: It is not possible to rename directories. This is done on purpose. When you rename a directory, you have to change all the links in S@S that are connected to that directory and its contents.
NOTICE: It is strongly advised to immediately make subdirectories in the ../media directory.
We have seen situations in which all pictures on the site were kept in the ../media directory, without any subdivision. This makes management (i.e. a cleanup) almost impossible. Immediately creating subdirectories greatly reduces the risk of broken links on the site later on.
- Multiple upload: Click to enter the multiple files upload program. For further details see section 2.1 Multiple file upload.
- Directory Path: Your working directory. For Site@School on a Linux server it is probably: /home/httpd/html/starnet/media, or /var/www/html/starnet/media.
For Site@School on a Windows server the path will be something like:
C:\Program Files\Apache Group\Apache\htdocs\starnet\media.
- Delete icon: When you click on it you will remove the directory when there are no more files in it.
- Directory icon: Indicates that it's a directory and not a file.
- Name of the directory: When you click on it, for example on 'gallery', a new window opens and you can see the files and/or subdirectories in the directory:
![[ ]](pics/fileman_directory.png)
fileman_directory.png
Observe that the directory path is changed and a 'Go back' button is available. Pressing the 'Go back' button brings you one directory higher in the directory tree.
The 'Location' button and the file(s) will be discussed below.
- Location?: When clicking on the 'Location' button you can see where files in a directory are used on the site. This prevents deleting files that are still in use.
Normally the locations are not visible. In the picture the button is pressed and the locations are visible. See below under 'Section -> Category -> Page'.
NOTICE: The 'Location' button only works for page content and not for modules that can contain files like the upload/download module and the ALLbum module.
- Delete icon: When you click on it you will remove the file.
- File icon: Indicating it's a file and not a directory.
- Name: The name of the file.
- Filesize: The size of the file in kilobytes.
- Section -> Category -> Page: You can observe the section and the page where the file is used on the site. A 'category' is a subdivision in a section. Sometimes so many pages exist in a section, that it's difficult to keep an overview. By dividing the section in categories, you can categorize your pages in a logical order.
- zz_thumb_filename.extension: When using the FCK editors' picture insert mode, thumbnails of pictures are automatically created.
Displaying the original pictures can take a lot of time so smaller thumbnails eg. 'zz_thumb_filename.jpg' are created.
Material is sorted alphabetically so the thumbnail files (very unimportant) will be shown at the bottom or outside the visible part of the screen.
This is a feature.
To use the multiple file upload program, first select a destination directory in the File Manager, then click on the 'Multiple upload' button.
The program (java applet) will be downloaded from the server where Site@School is running. Wait a couple of moments. You should see:
![[ ]](pics/fileman_mupload_warning.png)
fileman_mupload_warning.png
This is a security warning because the (java applet) program will be running on your computer. There is no other way to upload multiple files in one go. When you want to use the program, click 'Yes'.
You will see:
![[ ]](pics/fileman_mupload_open.png)
fileman_mupload_open.png
Proceed as follows:
- Click on 'Add'. Your computer file browser will open.
- Select the files you want to upload and confirm the action in your computer file browser. Your computer file browser will close.
- The selected files will be visible in the upload program.
- Click 'Upload' and observe the upload progress bar at the bottom of the window.
- When the uploading process is terminated, the upload program closes and you are back at the file manager.
(top)
When you click on 'Class pages' [2], you will enter the section where you can delete and upload files to
directories belonging to both pupils' and teachers'.
The process is the same as in the file manager except it is not
possible to create subdirectories and to upload multiple files:

fileman_puppg.png
Above you will see the classes that are made. When you click on a class, you will see the pupils and the teacher in the class:

fileman_puppg_pups.png
Observe the directory number next to the directory icon.
When you click on the directory name or number, belonging to a pupil or teacher, you enter the next screen:

fileman_pupdir.png
The file upload process for a pupil or teacher is exactly the same as described under the file manager.
NOTICE: When you have deleted a teacher or pupil in the Configuration > Pupil
or > 'Teachers' section, you also have to delete his/her directory/files in the file manager's class pages.
(top)
Author: Dirk Schouten <schoutdi (at) knoware (dot) nl>
Last updated: 2006-04-01