Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

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

Comments

  • Options
    hgtonighthgtonight ∞ · New Moderator
    edited March 2013

    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.

  • Options
    soosoo New
    edited March 2013

    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

  • Options
    hgtonighthgtonight ∞ · New Moderator
    edited March 2013

    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. :D

    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.

  • Options

    Thank you so much. I solved thanks to you.

Sign In or Register to comment.