最近の検索


最近の検索はありません

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

コメント