최근 검색


최근 검색 없음

Enrico Monte's Avatar

Enrico Monte

가입한 날짜: 2024년 11월 25일

·

마지막 활동: 2024년 11월 28일

팔로잉

0

팔로워

0

총 활동 수

8

투표 수

0

플랜 수

3

활동 개요

님의 최근 활동 Enrico Monte

Enrico Monte님이 에 댓글을 입력함

커뮤니티 댓글 Discussion - Tips and best practices from the community

Hi David,

Thank you so much for your response!

 

If I understand, I need to purchase a theme from the Zenplates Partner, and their themes provide additional features such as Utils, Patterns (reusable components), and Microtemplates. Unfortunately, we have already purchased a bundle of themes from another Zendesk Partner.

 

Isn’t there a way to achieve this independently of the theme? Specifically, to define a component with shared code in the assets or templates folder and include it in a Zendesk template page to display that component?

댓글 보기 · 2024년 11월 28일에 게시됨 · Enrico Monte

0

팔로워

0

투표 수

0

댓글


Enrico Monte님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Hi Amie,

Thank you so much for your response!

 

Unfortunately, I already have the latest version of the Zendesk CLI.

 

About the import command, it is structured as follows:

zcli themes:import  --brandId 

If you run the command inside the theme folder, you can use “.” as the current theme directory or omit it, and it will default to “.” as described here.

 

Unfortunately, I can’t use the GitHub integration because I have a GitHub repository containing multiple themes/brands, and to use the integration, you need to have only one theme per repository.

Additionally, I have a robust CI/CD pipeline that allows me to choose whether to import the theme only or also publish it. It also ensures that unused themes are removed from the library, given that Zendesk has a limit of 10 themes in the library.

 

Has anyone else encountered a similar issue and found a solution?

댓글 보기 · 2024년 11월 28일에 게시됨 · Enrico Monte

0

팔로워

0

투표 수

0

댓글


Enrico Monte님이 에 게시물을 만듦

게시물 Developer - Zendesk APIs

HI! I’m working with Zendesk Help Center to create a custom Help Center and personalize the UI by customizing the theme code. 
To do this, I need to import the theme from a local environment or through a CI/CD pipeline using the following command (with ZCLI as specified in the documentation):

zcli themes:import --brandId= 

However, the import process fails with the following output:

Creating theme import job... Ok  
Creating theme package... Ok  
Uploading theme package... Ok  
Polling job status... !  
›   Error: Import job timed out  

Are there any suggestions or specific configurations we should consider to resolve this? Perhaps a way to increase the timeout?

2024년 11월 26일에 게시됨 · Enrico Monte

0

팔로워

3

투표 수

3

댓글


Enrico Monte님이 에 게시물을 만듦

게시물 Discussion - Tips and best practices from the community

Hi, I’m using Zendesk Help Center to build my help center and customizing the UI by editing the theme code. I’m wondering if it’s possible to create reusable files/components with common code (HBS/HTML elements) that can be included and reused in other components.

 

For example, I’d like to create a card.hbs file containing the code for a card component and reuse this code across multiple templates like home_page.hbs, category_page.hbs, and so on.

 

In Handlebars, this concept corresponds to partials. However, the Zendesk Help Center doesn’t support the use of the partials helper.

 

This feature would be extremely useful (or essential) for customizing themes. Themes have size limits in terms of MB, so reusable components would help avoid duplicating code, keeping the theme size smaller, and improving code readability. Without reusable components, code repetition makes maintenance harder, increases the risk of errors, and bloats the theme unnecessarily.

2024년 11월 26일에 게시됨 · Enrico Monte

0

팔로워

4

투표 수

2

댓글


Enrico Monte님이 에 댓글을 입력함

댓글Using themes and customizing your Help Center

Hi,
I need to import the theme with the following command (specified in the documentation):

zcli themes:import --brandId= 

However, the import command process fails with the following output:

Creating theme import job... Ok  
Creating theme package... Ok  
Uploading theme package... Ok  
Polling job status... !  
 ›   Error: Import job timed out  

Are there any suggestions or specific configurations we should consider to move forward? Maybe any configuration to increase the timeout?

Thanks!

댓글 보기 · 2024년 11월 25일에 게시됨 · Enrico Monte

0

팔로워

0

투표 수

0

댓글