ragesw Posted May 25, 2014 Share Posted May 25, 2014 Hello, I placed the knowledge base search box on the supportticketsubmit-stepone.tpl page. Since that page uses an https connection, the following code will cause a redirect to the main page rather then searching the knowledge base (this is with Safari 7.0.3 and Chrome on OS X 10.9). In order to get to code to work correctly, you need to use an absolute URL (without https) in the form action attribute. However, when you do this the browser will display a message saying the form is being sent in an insecure way (at least on Safari). Is there a way to include the knowledge base search field on a secure page in WHMCS? Thanks in advance for any help. <div class="well"> <div class="textcenter"> <form method="post" action="knowledgebase.php?action=search" class="form-inline"> <fieldset class="control-group"> <div class="col85"> <input class="bigfield" name="search" type="text" value="Have a question? Start your search here." onfocus="this.value=(this.value=='Have a question? Start your search here.') ? '' : this.value;" onblur="this.value=(this.value=='') ? 'Have a question? Start your search here.' : this.value;"/> </div> <div class="col15"> <input type="submit" class="btn btn-large btn-primary" value="Search" /> </div> </fieldset> </form> </div> </div> 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.