ChrisTERiS Posted January 3, 2021 Share Posted January 3, 2021 (edited) Happy New Year to all, Don't know if this is the way that system works, but when a visitor comes to my site, he can see this NavBar which is fine. The "issue" that I've is that when someone who has clicked "remember me" before, he gets this NavBar. while I want to see the normal "NavBar" with Store menu option instead of "Services". I've checked my settings and as you can see I haven't enabled the redirection to clientarea page. What I'm doing wrong? How I can redirect users with logon cookies to go to index.php when they enter my site? Thank you Chris Edited January 3, 2021 by WHMUp Typo 0 Quote Link to comment Share on other sites More sharing options...
xyzulu Posted January 4, 2021 Share Posted January 4, 2021 You could use a hook to add the store link on all pages. Would that work? 1 Quote Link to comment Share on other sites More sharing options...
ChrisTERiS Posted January 4, 2021 Author Share Posted January 4, 2021 11 hours ago, xyzulu said: You could use a hook to add the store link on all pages. Would that work? I thought something like this, but still didn't found sometime to test it. Actually I had in mind to use hook to hide that menu and show the store menu. Something like your suggestion. Thank you ! 0 Quote Link to comment Share on other sites More sharing options...
xyzulu Posted January 4, 2021 Share Posted January 4, 2021 It's not that hard actually.. check the docs and tips on this community.. you'll find some sample hooks to add/hide menu items. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 4, 2021 Share Posted January 4, 2021 16 hours ago, WHMUp said: What I'm doing wrong? How I can redirect users with logon cookies to go to index.php when they enter my site? unless i'm missing something here, aren't they just being auto logged in ?? that second navbar image is what a user would see when logged in, the first is what they would see when they're not. as xyzulu says, you can recreate the store dropdown with hooks if you want to. 0 Quote Link to comment Share on other sites More sharing options...
ChrisTERiS Posted January 4, 2021 Author Share Posted January 4, 2021 9 minutes ago, brian! said: unless i'm missing something here, aren't they just being auto logged in ?? that second navbar image is what a user would see when logged in, the first is what they would see when they're not. as xyzulu says, you can recreate the store dropdown with hooks if you want to. You're correct. They're logon, and what they see is what is normal to see. I just want to show the store menu instead that my services. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 4, 2021 Share Posted January 4, 2021 29 minutes ago, WHMUp said: I just want to show the store menu instead that my services. in that case, in the navbar hook you would either check if they're logged in and, remove my services - or check if store exists and in not recreate the store menu. just did a quick search to see if I had published a hook to recreate store - couldn't find one, but it wouldn't be difficult as you're just creating an array of visible product groups, optionally MC product groups too, dividers and the reg/tran domain links (if enabled) and using setchildren to output it. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.