Recent searches


No recent searches

Enrico Monte's Avatar

Enrico Monte

Joined Nov 25, 2024

·

Last activity Nov 28, 2024

Following

0

Followers

0

Total activity

8

Votes

0

Subscriptions

3

ACTIVITY OVERVIEW

Latest activity by Enrico Monte

Enrico Monte commented,

Community comment 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?

View comment · Posted Nov 28, 2024 · Enrico Monte

0

Followers

0

Votes

0

Comments


Enrico Monte commented,

Community comment 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?

View comment · Posted Nov 28, 2024 · Enrico Monte

0

Followers

0

Votes

0

Comments


Enrico Monte created a post,

Post 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?

Posted Nov 26, 2024 · Enrico Monte

0

Followers

3

Votes

3

Comments


Enrico Monte created a post,

Post 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.

Posted Nov 26, 2024 · Enrico Monte

0

Followers

4

Votes

2

Comments


Enrico Monte commented,

CommentUsing 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!

View comment · Posted Nov 25, 2024 · Enrico Monte

0

Followers

0

Votes

0

Comments