I currently have the user's name and photo displaying immediately before the user icon at the far right of the upper navigation.
My code for that is placed in global Page_Foot and is currently as follows:
<script type="text/html" class="ew-js-template" data-name="myOrg" data-method="prependTo" data-target="#ew-navbar-end" data-seq="10">
<?php if (IsLoggedIn()) { ?>
<div class="nav-item ew-navbar-item">
<?php if (GetClientVar("login", "currentUserName")) { ?>
<div style="float:left" id="">
<a class="nav-link"><?= getMyFullName() ?></a>
</div>
<?php } ?>
<?php if (CurrentUserImageBase64()) { ?>
<div class="image" style="float:right">
<img src="data:image/png;base64,<?= CurrentUserImageBase64() ?>" class="img-circle ew-user-image" alt="">
</div>
<?php } ?>
</div>
<?php } ?>
</script>
However, it would be much nicer if the user's photo would in fact replace the user icon (represented by ew-nav-link-user), whilst still maintaining the drop-down functionality.
Is there a way to do that with modifying the template?
v2023.13