Back to marketplace
122

Verified

Buy now

Verified Accounts/Spaces.

For developers

VerifiedIcon widget

The module provides a widget which returns the verified icon (or an empty string). You can use it in your theme or module views as follows:

<?= humhub\modules\verified\widgets\VerifiedIcon::widget(['container' => $user]); ?>

Configuration options:

  • container (required)
    Type: instance of User or Space

  • icon (optional)
    Type: string (available FontAwesome icon without leading 'fa-')
    Default: icon from module settings

  • color (optional)
    Type: string
    Default: color from module settings
    If no color should be added, you can set 'color' => ''

  • leadingSpace (optional) - adds a leading space before the icon
    Type: boolean
    Default: true

Module Information

Price:
33 €
Latest version release:
1.3.0 - May 6, 2024
Publisher:
Author(s):
Compatibility:
HumHub 1.16.0 - 1.17