最近搜索
没有最近搜索

Alyssa
已加入2021年12月01日
·
最后活动2023年6月06日
关注
0
关注者
0
活动总数
24
投票
5
订阅
9
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Alyssa
Alyssa 进行了评论,
Is there a workaround to hide an article from search as well? Ifra Saqlain perhaps you've cracked this?
Please Zendesk, let us publish unlisted articles 🙏🏼
查看评论 · 已于 2023年5月02日 发布 · Alyssa
0
关注者
0
投票
0
评论
Alyssa 进行了评论,
That worked perfectly! Thank you again, Ifra Saqlain, for your fast and thoughtful help. You're an absolute superstar! Are there any Zendesk resources that would help me better grasp vanilla Javascript?
查看评论 · 已于 2023年4月27日 编辑 · Alyssa
0
关注者
0
投票
0
评论
Alyssa 进行了评论,
Ifra Saqlain that worked to hide the forms from the dropdown, however, it's not working for this page (see the image below). I need to hide the option from all lists for the visitor. Thank you so much for your help!
查看评论 · 已于 2023年4月26日 发布 · Alyssa
0
关注者
0
投票
0
评论
Alyssa 进行了评论,
Hi Ifra Saqlain I'm trying to adapt this code to completely hide forms from the new_request list.
This is what I've got so far, but it's not working
if (window.location.href.indexOf("new_request") > -1) {
document.querySelector('.ticket_form_id=4719898103693').style.display= "none";
document.querySelector('.ticket_form_id=360000334451').style.display= "none";
}
I'm using a Zenplates theme, and there isn't a DOMContentLoaded line at the top of the script.js template page.
查看评论 · 已于 2023年4月26日 发布 · Alyssa
0
关注者
0
投票
0
评论
Alyssa 进行了评论,
Hi folx!
I had previously used this solution, however, we've opted to use Zenplates which uses vanilla Javascript and not jQuery. Ifra Saqlain do you possibly have a solution for hiding ticket forms using vanilla Javascript? Appreciate any help our resources you can share!
查看评论 · 已于 2023年4月26日 发布 · Alyssa
0
关注者
0
投票
0
评论
Alyssa 进行了评论,
Hi folx!
We have a GA4 Configuration tag triggering for all pages on Google Tag Manager. My team finds GTM easier to build tags with. Should we not add the tracking ID in Zendesk?
查看评论 · 已于 2023年3月09日 发布 · Alyssa
0
关注者
1
投票
0
评论
Alyssa 进行了评论,
Hi Ifra Saqlain,
Thank you for all of your help!
I was able to get the headers to be mobile-responsive. I tried your suggestion of adding an id to the panel, and the link in the TOC leads to the area of the panel, however it doesn't expand (show) it. It still seems to be hidden.
Here is the script.js that I'm using:
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
var panel = this.nextElementSibling;
if (panel.style.maxHeight){
panel.style.maxHeight = null;
this.classList.toggle("active");
} else {
let active = document.querySelectorAll(".accordion-div .accordion.active");
for(let j = 0; j < active.length; j++){
active[j].classList.remove("active");
active[j].nextElementSibling.style.maxHeight = null;
}
this.classList.toggle("active");
panel.style.maxHeight = panel.scrollHeight + "px";
}
});
}
And here's the snippet from the article's source code:
I'm on a desktop device
- I'm using the app
- I'm using the mobile web
- Frequently asked questions
How to cancel on desktop
Click the Settings link from the left sidebar navigation
查看评论 · 已于 2022年11月18日 发布 · Alyssa
0
关注者
0
投票
0
评论
Alyssa 进行了评论,
Hi Ifra Saqlain,
What an incredible thread! I've gotten my accordions up and running, however, it's not mobile-responsive. I've racked my brain and reviewed everything I can, but I just can't seem to get the accordions to show up for a screen smaller than 1024 px wide. Any help would be very much appreciated.
I'm also interested in what Salim Moumouni asked about: Is it possible to create an anchor link for the header that also expands the panel? For example, I'm using collapsible headers in articles. I want to create a table of contents at the top of the article that links to each collapsible header. When the reader clicks on a link, I want them to be taken to the section with the panel expanded. Hope that makes sense!
查看评论 · 已于 2022年10月11日 编辑 · Alyssa
0
关注者
1
投票
0
评论
Alyssa 进行了评论,
I'm coming across an issue with the DC mark-up formatting carrying over to the custom page. So links and lists (bulleted and numbered) aren't populating as intended. Is the solution to create separate DC items when you need to insert a link or make a list and format with code via the custom page's HTML? Or is there a more straightforward solution?
查看评论 · 已于 2021年12月01日 发布 · Alyssa
0
关注者
0
投票
0
评论