Hi cloudten10,
You can open the templates\ja_impact\acm\hero\tmpl\style-1.xml file, and add the following code to line 40:
<field name="btn-get-username" type="list" default="" label="Get user name" description="Show username in the title">
<option value="no">No</option>
<option value="yes">Yes</option>
</field>
And open the templates\ja_impact\acm\hero\tmpl\style-1.php file, line 31:
Replace with the following code:
<h1 class="hero-title mt-0 mb-2">
<?php if($helper->get('btn-get-username', $i) == 'yes'): ?>
<?php
$user = JFactory::getUser();
if (!$user->guest) {
// User is logged in, display username
$username = $user->username;
echo "Welcome back $username";
}
?>
<?php else: ?>
<?php echo $helper->get('title', $i) ?>
<?php endif; ?>
Hope this helps!