Search filter and criteria

From UmsWiki
Revision as of 13:42, 25 January 2018 by Kia (talk | contribs) (→‎Examples)
Jump to navigation Jump to search

Search filter and criteria (Activity)

This will enable you to concatenate sites that would have been created as to or more sites to be created as one site.

Remarks

This is just for description purposes.

Filter

The SQL like filter (regular expression). If an activity matches, it will be subject to the settings below in semester roll

Semester roll

Use replace string with empty

This will replace a section of the site with an empty string.

Start index

Determine where to start in string to remove.

Length

How many characters will be removed from the string.

Add activity short description to node ID

This will add the field Kort_Betegnelse (Short Description) from the students table to the node id.

Node id is the URL.

Examples

If you have three activities named English1, English2, English3 and you only want one site.

Set the settings as shown below.

This filter ensures that it is only applied to activities that matches this SQL sentence.

Search filter and criteria (Course)

This will enable you to concatenate sites that would have been created as two or more sites to be created as one site. A course is always a child to an activity, it can not exist without an activity.

Remarks

This is just for description purposes.

Course Filter

The SQL like filter (regular expression). If an activity matches, it will be subject to the settings below in semester roll.

Semester roll

Use replace string with empty

This will replace a section of the site with an empty string.

Start index

Determine where to start in string to remove.

Length

How many characters will be removed from the string.

Activity Filter

The SQL like filter (regular expression). If an activity matches, it will be subject to the settings below.

Use replace string with empty

This will replace a section of the site with an empty string.

Start index

Determine where to start in string to remove.

Length

How many characters will be removed from the string.

Examples

If you have an activThsities with multiple courses attached and you only want one site.

Set the settings as shown below.

This filter ensures that it is only applied to courses that matches this SQL sentence.