Recent searches
No recent searches

Vlad
Joined Apr 15, 2021
·
Last activity Mar 04, 2025
Zendesk Help Center developer - wladan@gmail.com
Following
0
Follower
1
Total activity
263
Votes
16
Subscriptions
90
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Vlad
Vlad commented,
Johannes Garske put this code at the end of new request page template and replace test
with something you need.
<script>
document.addEventListener("DOMContentLoaded", function () {
setTimeout(() => {
// Find the target element by its name attribute
const targetElement = document.querySelector('[name="request[anonymous_requester_email]"]');
if (targetElement) {
// Get the previous sibling element
const previousElement = targetElement.previousElementSibling;
// Check if a previous element exists and modify its text
if (previousElement) {
previousElement.textContent = "test";
} else {
console.log("No previous element found.");
}
} else {
console.log("Target element not found.");
}
}, 400); // Delay of XYms
});
</script>
View comment · Posted Mar 04, 2025 · Vlad
0
Followers
0
Votes
0
Comments
Vlad commented,
Hey Vicky, have you tried like:
{{#if author.agent}}
fixed name
{{else}}
{{author.name}}
{{/if}}
View comment · Posted Jul 11, 2024 · Vlad
0
Followers
0
Votes
0
Comments
Vlad commented,
Hey Jane Yim, yup, you can do different stuff depending on the current form. But what do you mean by removing the email field? It's mandatory so it can not be removed. You can just edit it but using javascript.
So you will need a JS code that is going to work like this: if the current URL contains 12345 (12345 = your ticket form ID) => then change the text of the email label, or add a description under, or…
Bosko Kovacevic Hey mate, so you will need the “dynamic content” option, create an item called eg email-label, and add values for all languages you need.
Then, create a JS code snippet, which will just replace the text needed. You can put the JS code on the “submit a request” page template, or in the JS file of the help center theme you use.
View comment · Posted Apr 23, 2024 · Vlad
0
Followers
0
Votes
0
Comments
Vlad commented,
I still need this :)
View comment · Posted Jan 24, 2024 · Vlad
0
Followers
0
Votes
0
Comments
Vlad commented,
Is there any way to pull related articles via ZD API?
I need related article IDs in the help center DOM to take their section names. 💁🏻
View comment · Posted Nov 12, 2023 · Vlad
0
Followers
0
Votes
0
Comments
Vlad commented,
Hey Katie, this should be what you are looking for. Using this liquid HTML, you can easily add a class to the current article from a list.
class="{{#is id ../article.id}}current-article{{/is}}"
View comment · Posted Sep 30, 2023 · Vlad
0
Followers
0
Votes
0
Comments
Vlad commented,
"Working with the default messaging response"
- can a description field be added for "Response outside of business hours"? It seems essential to me.
View comment · Posted May 13, 2023 · Vlad
0
Followers
1
Vote
0
Comments
Vlad commented,
Even if there is not option for avatar change, this can be custom-coded using javascript.
View comment · Posted May 11, 2023 · Vlad
0
Followers
0
Votes
0
Comments
Vlad commented,
My client has this issue, any ETA?
View comment · Posted Apr 18, 2023 · Vlad
0
Followers
0
Votes
0
Comments
Vlad commented,
Hey David, last part of your code should be
"test_email_dc_on_hc"}});
Instead of
"dc.test_email_dc_on_hc"}});
View comment · Posted Mar 28, 2023 · Vlad
0
Followers
0
Votes
0
Comments