Skip to the content
Documentation

Filters

No ratings yet

Summary

Sets the active filters that will be used to filter the text in the URLs.

Usage

Filters[]=filter1

Filters[]=filter2
...

Description

This configuration array tells the system which filters that should be used for URL aliases text filtering. Each line contains the name of the class which implements the filtering. The name of the class in lowercase specifies the name of the PHP file which the system will search for to perform filtering. Note that all filters must be placed under the "urlfilters" subdirectory located inside the directory of an extension.

Examples

Example 1

Extensions[]
Extensions[]=myfilters

Filters[]
Filters[]=MyFilter

This configuration tells the system to use the "MyFilter" filter from the "myfilter.php" file located in the "extension/myfilters/urlfilters" directory. The filter will be used every time a URL alias is created (either by the system or by users).

Contributors

Comments (2 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Filter classes

    Kristof Coomans ·

    The filter class is supposed to implement the interface eZURLAliasFilter (kernel/classes/ezurlaliasfilter.php), especially its only abstract method process().

Comments

Add a comment

Comments are read by a moderator before they appear.