User
Last updated: Jul 11, 2024

The user element lets you select a user which is connected to the current Webigniter site. If selected, it will pass the users name, emailaddress and avatar in an array.

In your frontend you can use this to retreive the information about the user.

This article was created by <a href='mailto:<?=$your_handle_name['email'];?>'><?=$your_handle_name['name'];?></a><br>
<img src='<?=$your_handle_name['avatar'];?>'>

<!-- $your_handle_name is the handle of your user element in the CMS -->

This will result in something like:

This article was created by <a href='mailto:john@example.com'>John</a><br>
<img src='https://cms.webigniter.net/assets/vendors/webigniter/avatars/12345678910.png'>