![]() |
login links for logged in users only I've added a js dropdown login on a client site I'm working on. I'd like the {USERS_LOGIN_BOX} links to control panel etc. to appear only after a user is logged on* but not the login box with textboxes prior to logging in. I've moved that to the dropdown. Here is what I have in my theme.php file: Code: $user = Current_user::getUsername(); if ($user){ Layout::plug('{USERS_LOGIN_BOX}'* 'logged-in'); }else{ Layout::plug(''* 'logged-in'); } But that doesn't work. Any help? Thanks. |
| الساعة الآن 07:48 PM |
Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir