TUCAL – Frequently asked questions and answers
How can I set the date of the last modification on the bottom left of the page?
This is automatically determined from the file's modification date. If you want to use a different date, e. g. because the file is rarely changed but the contents are fetched dynamically from other sources, you can also set the date yourself.
Before calling the function seite()
, set the variable $seitendatum
to a timestamp:
<?php
require_once('config.inc');
$seitendatum = time(); // current time
seite(__FILE__);
?>
In the same way, you can also overwrite other variables set in the frame definition (here config.inc
) and thus individualise the current page.
(see the description of the frame definition.)
E. g. setting a page image only for this website:
$seitenbild =
'/tu/images/titelbilder/titelbild_uni.jpg'
;
Is the source code of TUCAL available? Where can I find out about changes?
If you are logged in to the Web Trust Center, you will also find the item History and Source Code in the menu on the left.
Questions about the HTML editor CKEditor
Why is the HTML content formatted differently or distorted after saving?
CKEditor pays attention to correct HTML5! If the original HTML text contains errors (e. g. missing closing tags), CKEditor tries to correct them. However, this is not always possible automatically in the way it was originally intended. Therefore: When working with other editors, always use a validator, e. g. validator.w3.org.
CKEditor also has its own ideas on how to format HTML texts: Indentations ultimately lead to good readability of the source text. In addition, CKEditor also prevents the use of tags and attributes that do not belong in the source text for security reasons or in terms of corporate design:
script-
, font
- or certain span
tags,
*font*
styles, etc.
How can I use the design elements for structuring in the CKEditor?
Creating the structure for more complex design elements is currently only possible in the CKEditor via the "Source code" mode. Click on "Quellcode" (source code) at the top left, copy a desired HTML example, e. g. for tabs or expanding blocks, to the desired position.
Make sure that the id=
information is unique and correctly assigned.
You can change the contents themselves in normal mode – click on "Quellcode" (source code) again.