최근 검색


최근 검색 없음

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물