Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 2, 20213 yr 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, 20213 yr by kmk
December 2, 20213 yr 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}}