Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
Edit box in pannel
Hello,
I installed jsConnect so that I don't need to have two buttons, signin and apply for register in Panel.
How can I remove them? I don't know where i should modify codes.
If possible, please let me know.
Thanks
0
Comments
The easiest way to accomplish this is by adding this line in your config.php file:
$Configuration['Garden']['Modules']['ShowGuestModule'] = FALSE;
This will completely remove that module and prevent it from showing. Then you can add a sign in link in your theme. You don't have to add a link if you don't want, since vanilla has a sign in link in the banner by default.
There are a lot of "hidden" options in config-defaults.php that you can change in your config.php. NEVER edit the config-defaults.php file.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Thank you for your reply.
i tried it as you said. BTW, after changing it, my box is gone. i don't want to remove all box.
I just want to remove two buttons such as signin and apply for membership.
Do you have any other solutions?
Thanks
I would say your best bet would be to hide the buttons through CSS.
.GuestBox .P { display: none; }
If you go this route, be sure to change the text in the box since it refers to pressing the buttons below.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Thank you so much. I solved thanks to you.