Jump to content

Support tickets reply in Six template are buggy


paperweight

Recommended Posts

We are using the Six template and just noticed users cannot hit "Reply" on support tickets when they wish to respond (via viewticket.tpl). Instead, they need to create a new ticket since the reply doesn't work.

 

How best should I troubleshot this? It appears to be JS or CSS related, but I'm unsure where to start to look for why that link fails to work. It doesn't allow the reply window to open and a user to enter data in the field.

 

- - - Updated - - -

 

Btw, I am getting these 2 errors in the javascript console:

 

whmcs.js:67 Uncaught SyntaxError: Unexpected identifier

responsive-scripts.min.js?ver=1.2.6:1 Uncaught TypeError: jQuery(...).placeholder is not a function

Edited by paperweight
Link to comment
Share on other sites

I assume this is a customised Six template and not a totally clean template ?

 

if it were a clean template, i'd have suggested trying the bug in a dev installation or the WHMCS demo - but as i'm writing this, the demo is down... if there are no alterations or no hooks getting in the way, then what you're seeing shouldn't occur.

 

i'd be tempted to disable the .js files one by one to see which one is causing this issue - then when you know which one it is, you can decide how best to work around the issue.

Link to comment
Share on other sites

It is a customized template, but interestingly the template files supportticketsubmit-stepone.tpl and supportticketsubmit-steptwo.tpl have zero customizations added.... and all else appears to work on the site with Six template.

 

Our main customization is we stripped the left sidebar away from all pages, but there appear no js or css code calls in that specifically for these support ticket pages.

Link to comment
Share on other sites

Our main customization is we stripped the left sidebar away from all pages, but there appear no js or css code calls in that specifically for these support ticket pages.

how did you strip the sidebars away - by modifying the templates or using action hooks ?

 

removing by hooks shouldn't affect the js in anyway... if you've modified templates to remove them, then that's potentially more risky.

 

worst case scenario, if you can't track down the clash, would be to make the reply box visible, instead of being hidden, by default - that's just a minor change to a div in viewticket.tpl

 

<div class="panel panel-info panel-collapsable{if !$postingReply} panel-collapsed{/if} hidden-print">

and change it to...

 

<div class="panel panel-info hidden-print">

I don't think it looks that great, but without seeing the website or knowing everything that you've changed, it might be the quickest solution! :)

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.

×
×
  • 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