Jump to content

Make the WHMCS Knowledgebase Search Available to Logged Out Visitors


Recommended Posts

Is it possible to create a knowledgebase search field that works for users who are just visiting the site and are not logged in as a client? I had found a few older threads about creating a knowledgebase search field and I was able to get it working, but it only works when the user is logged in. I want to add a knowledge-base search form to my public support page that will work regardless of whether the visitor is logged in or not.

 

Is this possible?

 

Here's the code I am currently using:

 

<form role="form" method="post" action="knowledgebase.php?action=search">
   <div class="row">
       <div class="col-md-12 home-kb-search">
           <input type="text" name="search" class="form-control input-lg" placeholder="{$LANG.clientHomeSearchKb}" />
           <i class="fa fa-search"></i>
       </div>
   </div>
</form>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated