最近搜索


没有最近搜索

new-request-form doesn't work with v4



已于 2024年7月08日 发布

Hello. I tried to upgrade my custom template from v3 to v4, but it doesn't want to show the New request form, giving this error:

 

TypeError: Failed to resolve module specifier "new-request-form". Relative references must start with either "/", "./", or "../".
 

I think I have copied the code from github, but I must have missed something. Anyone has a clue?

I have these pages 100% copenhagen default:

  • templates/new_request_page.hbs
  • script.js

 

https://developer.zendesk.com/api-reference/help_center/help-center-templates/v3/

https://github.com/zendesk/copenhagen_theme/blob/master/

https://developer.zendesk.com/api-reference/help_center/help-center-templates/objects/#new-request-form-object

 


1

6

6 条评论

Having the same issue, did you find a solution? 

0


Having the same issue, did you found a solution? 

0


No, I didn't. I am not a web pro, so no ideas…

0


For me when I added the required scripts on document_head page then it was resolved.

So just copy the import scripts from default copenhagen theme and add that to your theme on document head page.

0


Needed to download the /assets too, now it works!

0


请先登录再写评论。

找不到所需的内容?

新建帖子