HostinPK Posted September 8, 2012 Share Posted September 8, 2012 Some of My registered clients open support tickets from Pre sales department. They should open ticket from slaes department instead of presales. So, how to redirect them to login to account and send support ticket to sales department? 0 Quote Link to comment Share on other sites More sharing options...
jrianto Posted September 13, 2012 Share Posted September 13, 2012 You can do this by simply adding a text like: "Existing customers please log in and submit your support ticket from your client area for faster response" Because if they have not logged in yet, there is no way to determine if the visitor is your existing client or not. If they are already logged in, you can edit your ticket template and only show the pre-sales to those who are not logged in. Using a simple if statement would do this trick. 0 Quote Link to comment Share on other sites More sharing options...
HostinPK Posted September 13, 2012 Author Share Posted September 13, 2012 If they are already logged in, you can edit your ticket template and only show the pre-sales to those who are not logged in. Using a simple if statement would do this trick. Thanks for your answer but how can I do this? I am not very good in coding. Is there anyone who can help me? 0 Quote Link to comment Share on other sites More sharing options...
Vox Posted September 13, 2012 Share Posted September 13, 2012 Thanks for your answer but how can I do this? I am not very good in coding. Is there anyone who can help me? Hi, The docs at http://docs.whmcs.com/Template_Syntax cover exactly what you want: Displaying Text to Logged In Users Only To display something on the page only if a user is logged in, use the following syntax: {if $loggedin} User is logged in so display client only information {else} User is not logged in so display this {/if} 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.