Recent searches


No recent searches

Zendesk Theme local development : Dynamic Contents and Assets not displayed



Posted Feb 29, 2024

Hello, we have been able to sync our Zendesk themes to a GitHub repo with the integration feature.

Afterwards we were able to setup local development via the ZCLI tool as described here.

this all works flawlessly, however I am missing two things for which I could not find any explanation in the documentation nor in the product's git repo:

 

  • Dynamic contents are not loaded, the Preview loads instead "could not find placeholder for dynamic content *name of dynamic content" messages. Since a Zendesk theme dynamically loads a specific localized dynamic content as specified in the Dynamic Contents section of the Admin area, this content is not downloaded or included along with the local copy of a Theme, therefore shoud I assume that {{dc }} placeholders cannot be loaded when developing the theme locally?
  • Theme assets are not displayed. Inspecting them in the DOM tree does not show any network errors but the URL begins with $assets - so this mean a specific URL is not generated. I thought this might related to the mixed contents topic discussed here: https://github.com/zendesk/zcli/blob/master/docs/themes.md  but it seems that running the theme:preview command with added certificate parameters does not make any difference

thanks, /Diego


0

0

0 comments

Please sign in to leave a comment.

Didn't find what you're looking for?

New post