Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
opf_add_class
opf_add_class_to_attr
opf_add_class_to_class
 Admin-Tool
 Admin-Tool Overview
 Admin-ToolÜbersicht
 Admin-Tool(de)
 Admin-Tool(en)
 After installation
 Apply two patches
B
 Before installation
 Beschreibung
C
 Core-Dateien verändern
 Create and install a Plugin-Filter
 Create Inline-Filter(en)
 Create Module-Filter(en)
 Create Plugin-Filter(en)
opf_cut_extract
D
 Description
E
 Einen Filter als Teil eines Moduls installieren
 Einen Plugin-Filter erzeugen
 Einführung
 Einführung(de)
 Export Filters
F
 Filter
 Filter exportieren
 Filter functions
 Filter Installieren
opf_filter_exists
opf_filter_get_additional_values
opf_filter_get_data
opf_filter_get_rel_pos
opf_filter_is_active
opf_filter_name_to_setting
 Filters
opf_find_class
 Functions
G
opf_glue_extract
H
 How to install the OutputFilter-Dashboard module itself
I
 Inline-Filter schreiben(de)
 Install a filter as part of a module
 Install Filters
 Install OutputFilter-Dashboard(en)
 Installation
 Installation des OutputFilter-Dashboard Moduls
 Introduction
 Introduction(en)
opf_is_childpage
L
 License(Documentation)
 License(Software)
 Licenses
M
 Modul-Filter schreiben(de)
opf_move_up_before
N
 Nach der Installation
O
 OutputFilter-Dashboard Modul installieren(de)
P
 Patch
 php
 Plugin-Filter schreiben(de)
R
opf_register_document_ready
opf_register_filter
opf_register_frontend_files
opf_register_onload
opf_register_onload_event
 Requirements
T
 The Filter-Function itself
U
opf_unregister_filter
V
 Version-History
 Vor der Installation
 Voraussetzungen
function opf_add_class(&$content,
$class,
$tag)
Add a class to a present HTML-tag, i.e.
function opf_add_class_to_attr(&$content,  
$class,  
$attr,  
$value,  
$tag = '')
Add a class to all HTML-tags that has a given attribute.
function opf_add_class_to_class(&$content,  
$class,  
$present_class,  
$tag = '')
Add a class to an already present class.
Das Admin-Tool ist der zentrale Punkt um Filter zu installieren, steuern, löschen oder zu exportieren.
The overview lists all installed filters, grouped by type of filter.
In der Filter-Übersicht werden alle installiertien Filter angezeigt, gruppiert nach Typ des Filters.
Website Baker Version 2.8.3 sp6 and later as well as Website Baker Community Edition Version WBCE 1.1 onwards already contain all the adaptions needed.  In the classical Website Baker you have to active the Outputfilter Dashboard explicitly in the settings of the Frontend Output Filter.  Furhtermore, module specific filters do not work out of the box in the classical Website Baker.  To enable them, the modifications of wb/framework/frontend.functions.php (see below) are still required.
To make the Filter work, you have to patch two core-files
You have to uninstall the ancient Frontend-Filter-Admin module first, not to confuse with the Frontend-Output-Filter!
OutputFilter sind kleine PHP-Programme, die auf die Ausgabe der Webseite angewendet werden, und dort Änderungen am Inhalt durchführen.
Damit OutputFilter-Dashboard richtig funktioniert müssen zwei “Core”-Dateien angepaßt werden.
Plugin-Filter are module-like ZIP-packages build from the files plugin_info.php, plugin_install.php, filter.php 
Please see Admin-Tool (en) on how to create an Inline-Filter.
function opf_cut_extract(&$content,  
$regex,  
$subpattern = 0,
$modifers = 'iU',
$delimiter = '~',
$extracts = '')
Cuts pieces out of content using a regular expression and replace them by placeholders.
OutputFilters are small PHP programs, which are used on the page’s output to alter it’s content.
Ist der Filter Teil eines normalen Modules, sind lediglich die Dateien install.php und uninstall.php des Modules entsprechend um Aufrufe von opf_register_filter() und opf_unregister_filter() zu ergänzen, und eine Datei mit der Filter-Funktion hinzuzufügen.
Plugin-Filter sind, ähnlich wie Module, ZIP-Archive aus den Dateien plugin_info.php, plugin_install.php, filter.php 
Use the “export”-icon in the Overview to export an existing Inline- or Plugin-Filter.
Für die Installation von Filtern siehe Filter Installieren.
Benutzen Sie das “Exportieren”-Icon in der Filter-Übersicht, um einen vorhandenen Inline- oder Plugin-Filter zu exportieren.
Um einen neuen Inline-Filter zu installieren, klicken Sie einfach den “Neuen Inline-Filter hinzufügen”-Schaltfläche an, und geben Sie die Daten des Filters in das Formular auf der folgenden Seite ein.
function opf_filter_exists($name,  
$verbose = FALSE)
Checks whether a given filter exists
function opf_filter_get_additional_values()
Receive additional filter arguments
function opf_filter_get_data($name = '')
Fetch data from filter.
function opf_filter_get_rel_pos($name)
Checks if a given filter was or will be executed.
function opf_filter_is_active($name)
Checkes whether a given filter is active for the actual module and page_id
function opf_filter_name_to_setting($name)
For WBCE 1.2: This function converts the name of a filter to the settings string which is associated with the active/inactive state of the given filter name.
See Install Filters on how to install filters.
function opf_find_class($content,  
$match,  
$tag = '',
$attr = 'class')
Check whether a class (or any other attribute) is present in content.
function opf_glue_extract(&$content,
$extracts)
bool opf_glue_extract( string &$content, string $extracts )
Bitte sehen Sie die Beschreibung unter Admin-Tool (de).
To add a filter to a module, just add calls to opf_register_filter() and opf_unregister_filter() to that module’s install.php 
To install a new inline-filter, just press the “Add new inline filter”-Button, and insert the filter-dependent data into the form.
Installieren Sie OutputFilter-Dashboard wie üblich.
function opf_is_childpage($child,
$parent)
Checks whether a page is a subpage of a given page (or the same page)
OutputFilter-Dashboard Documentation is licensed under the Creative Commons Attribution ShareAlike License, v.3.0 Germany.
OutputFilter-Dashboard is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
function opf_move_up_before($name,  
$ref_name = "")
Upon registration move a filter up to a position before another one.
Website Baker ab Version 2.8.3 sp6 und WBCE ab Version 1.1 entalten bereits die Anpassungen um Outputfilter Dashboard zu verwenden.  Im klassischen Website Baker muss das Outputfilter Dashboard explizit in den Einstellungen vom Frontend Output Filter aktiviert werden.  Außerdem funktionieren im klassischen Website Baker die Modulspezifischen Filter nicht ohne Core-Anpassungen.  Dafür ist nach wie vor die Anpassung der Datei wb/framework/frontend.functions.php (siehe unten) erforderlich.
To make use of OutputfilterDashboard, two patches must applied to WB core-files.
Überprüfen Sie vor der installation, ob Outputfilter-Dashboard installiert ist.
function opf_register_document_ready($js)
Register an Javascript onload-event inside page’s head-section, using jquery’s jQuery(document).ready() 
function opf_register_filter($filter,  
$serialized = FALSE)
Register a new Filter.
function opf_register_frontend_files($file,  
$type,  
$target = 'head',
$media = 'screen',
$iehack = '')
Register JS- or CSS-files to be loaded into the page’s head-section.
function opf_register_onload($script)
Register an Javascript script onload-function inside page’s body-section.
function opf_register_onload_event($function_name)
Register an Javascript onload-function inside page’s head-section, using window.attachEvent() or window.addEventListener().
Website Baker 2.8 or later or WBCE
The Filter function must have an unique name, and should have a “opff_”-prefix
function opf_unregister_filter($name)
Un-Register a Filter.
1.6.3 (Stefek, 04 Febr 2023)
Vor der Installation von OutputFilter-Dashboard muß das uralte Frontend-Filter-Admin Modul - wenn vorhanden - deinstalliert werden, nicht zu verwechseln mit dem Frontend-Output-Filter!
Website Baker 2.8 oder neuer oder WBCE
Close