Tools

  • Register

Wichtige Links


Editing Wiki Pages

HTML restrictions

This is the list of all tags you can use when editing the HTML code directly:

<h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <p>, <em>, <strong>, <abbr>, <acronym>, <blockquote>, <q>, <cite>, <ins>, <del>, <dfn>, <h>, <dialog>, <mark>, <div>, <span>, <pre>, <hr>, <address>, <section>, <article>, <aside>, <header>, <footer>, <figure>, <headings>, <listing>, <xmp>, <br>, <b>, <i>, <sub>, <sup>, <big>, <small>, <tt>, <center>, <font>, <u>, <s>, <strike>, <nobr>, <wbr>, <table>, <tr>, <th>, <td>, <caption>, <thead>, <tbody>, <tfoot>, <col>, <colgroup>, <ul>, <ol>, <li>, <dl>, <dt>, <dd>, <di>, <nl>, <nav>, <code>, <var>, <kbd>, <samp>, <object>, <param>

Particularly forms and all form elements cannot be used in wiki pages.

Advanced functionality for tables

In addition to the formattings that can be set via the WYSIWYG-editor, some table properties can only be changed directly in the HTML-code. This way it is possible to make tables sortable and to change column widths.

Sortable tables

Example:

Sample property
Value
Didactic value
10
Entertainment value
0

By adding the class toro-sortable to the table, the table becomes sortable via a click on the header cells. To obtain the design displayed above, it is necessary to additionally add the class toro-list. Consequently the opening table-tag looks like this:

<table border="0" class="toro-list toro-sortable">

Furthermore the first row of the table has to be assigned the value Table Head for the 'Row in table part'-property via the 'Table row properties'-dialog. In addition to that, the types of the individual cells in the first row must be set to  Header via the 'Table cell properties' dialog for the above changes to have effect.

Column widths

To specify the width of columns the colgroup-tag has to be used within the table-tag like this:

<table border="0" class="toro-list toro-sortable">

<colgroup span="1"><col span="1" width="200"></col><col span="1" width="70"></col></colgroup>

<thead> ...

Applied to the above example, the result looks like this:

Sample property
Value
Didactic value
10
Entertainment value
0

Embedding videos

To embed videos in a wiki-page, first of all the 'enable toro script'-checkbox on the edit-page has to be checked. To embed a video in the mp4-format, insert the following line of code into the page:

$fl4(file=PATH_TO_FILE)$.

PATH_TO_FILE of course has to point to the file you want to include, for example

$fl4(file=/file/attachments/wikis/tricia-help/1.%20Register%20and%20Login/1.%20Register%20and%20Login.mp4)$

for the first tutorial video.

Embedding flash contents (youtube and slideshare)

Flash contents can be embedded easily with the embed() keyword like this:

$[embed()$ here goes the html snippet from youtube or slideshare $embed]$

The result looks like this:

Currently only contents from youtube or slideshare are allowed and additional html surrounding the <object> tag is removed.

Referenced by: