I'm having some problems with a custom module that I'm making to display some basic "logged in" user information.
I'm working on a template with "SP Page Builder" CMS.
My module:
{source}
<table style="width: 100%; border-top: 0px solid #bb141b !important;">
<tr>
<td style="border: none !important;" width="84px">
<img src="/images/2022/01/16/star-of-life-variant-colors-08.png" alt="nord-als-logo" width="70px">
</td>
<td style="border: none !important;" width="*">
<strong><?php echo $user->name; ?></strong><br>
<small>...</small>
</td>
</tr>
</table>
{/source}
I would like to replace the "..." with the field value named jform_profile_Stilling
.
I would also like to fetch the profile picture -- I found this label jform_params_profilepic
.