Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

expuserapprove workflow event (Approve user accounts)

The expuserapprove workflow event type: its class, the triggers it accepts and how to use it.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/workflow-events/expuserapprove.md

On this page

The expuserapprove workflow event (Approve user accounts)

Class expUserApproveType in kernel/classes/workflowtypes/event/expuserapprove/expuserapprovetype.php; in a workflow it is the event type event_expuserapprove, listed in settings/workflow.ini [EventSettings] AvailableEventTypes[].

It may be used on these triggers only (setTriggerTypes()): content/publish (before).

Use it

  1. Setup > Workflows: create a workflow in a group and add the event "Approve user accounts"; fill in its settings.
  2. Setup > Triggers: connect the workflow to a trigger, for example content / publish / before (see the triggers).
  3. Workflows that wait (approval, a date) continue when the cronjob part frequent runs workflow.php (see the cronjobs).

To offer it (it is shipped in the list unless noted above):

<?php /* #?ini charset="utf-8"?
# settings/override/workflow.ini.append.php
[EventSettings]
AvailableEventTypes[]=event_expuserapprove
*/ ?>

Its templates: design/standard/templates/workflow/eventtype/edit/event_expuserapprove.tpl, design/standard/templates/workflow/eventtype/view/event_expuserapprove.tpl.


Generated by ./console exp:help:examples from kernel/classes/workflowtypes/event/expuserapprove/expuserapprovetype.php, settings/workflow.ini, design/standard/templates/workflow/eventtype/edit/event_expuserapprove.tpl, design/standard/templates/workflow/eventtype/view/event_expuserapprove.tpl. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x