kmk Posted December 2, 2021 Posted December 2, 2021 (edited) When we use mobile navigating our IPS website, we just can not know by first instance if we already login to, or who is login to. I think my below idea bring good change. ** When is guest navigating, show the traditional hamburger menu. ** When a members is logged in, show the profile photo and not hamburger icon. Now we can see immediately is guest or any member account (obviously is my account) log in. Edited December 2, 2021 by kmk media and OptimusBain 2
Nathan Explosion Posted December 2, 2021 Posted December 2, 2021 Edit template: core -> front -> global -> mobileNavigationIcon Replace: <i class='fa fa-navicon'></i> with: {{if !\IPS\Member::loggedIn()->member_id}} <i class='fa fa-navicon'></i> {{else}} {template="userPhoto" group="global" app="core" params="\IPS\Member::loggedIn(), 'tiny'"} {{endif}} Edjazoli, kmk, SeNioR- and 4 others 4 3
Recommended Posts