Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Deb Chatigny
Beigetreten 16. Apr. 2021
·
Letzte Aktivität 01. Feb. 2022
Folge ich
0
Follower
0
Gesamtaktivitäten
13
Stimmen
0
Abonnements
7
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Deb Chatigny
Deb Chatigny hat einen Kommentar hinterlassen
@Wes, we want to add this to the article_page.hbs template only.
Could it be because we're trying to use dynamic content? We want the article title to populate into either an English or Spanish survey, depending upon if the survey participant selects the link from an English or Spanish help center article. Here's what it will look like on the article page:
Here's the code in the article_page.hbs, where we're using dynamic content for both 'Help us to improve our Help Center' and 'Send us your feedback':
Here's the dynamic content survey code {{ dc 'send_us_your_feedback'}} :
https://docs.google.com/forms/d/e/1FAIpQLSc7gBPOUV9Uz2pxytaX2czLANA-qQrUONq3O6EoKyA-ACGF9A/viewform" rel="noopener">Send us your feedback
And in Spanish:
https://docs.google.com/forms/d/e/1FAIpQLSeAa2VWYhYTw_-RmahWKDK1-yGHJVOwc3aL5K1yfwtw_-ES2g/viewform" rel="noopener">Envíanos tus comentarios
Thanks!
Deb
Kommentar anzeigen · Gepostet 20. Juni 2018 · Deb Chatigny
0
Follower
0
Stimmen
0
Kommentare
Deb Chatigny hat einen Kommentar hinterlassen
Hi Leah,
Grant and I are creating a Google Forms survey, and want to include a link to the survey from help center article pages. When someone clicks the survey link from an article page, we'd like to auto-populate a field in the survey with the referral page URL and/or article title, so that we can correlate the feedback we receive to the help center article that generated it.
We had this working when we were using a different doc tool, but are not sure how to replicate this behavior in the article_page.hbs template.
@Wes - thoughts on how to accomplish this?
Thx!
Deb
Kommentar anzeigen · Gepostet 19. Juni 2018 · Deb Chatigny
0
Follower
0
Stimmen
0
Kommentare
Deb Chatigny hat einen Kommentar hinterlassen
@Anonymous, this is great! I was trying to find out why my images weren't showing up in both our English and Spanish categories, but I was using English words to identify the categories:
{{#is name 'category name'}}
{{/is}}
Now, using the category IDs instead, the images are appearing in both help centers.
{{#is id 115008316527}}
{{/is}}
Thank you!!
Kommentar anzeigen · Gepostet 05. Apr. 2018 · Deb Chatigny
0
Follower
0
Stimmen
0
Kommentare
Deb Chatigny hat einen Kommentar hinterlassen
Hi @Wes and all,
Sorry it took me a bit to get back to you. It's 95% working for me, and here's why.
I'm trying to use a combo of several of the awesome code samples here, as I'm trying to:
1. Have a notification banner in multiple languages, and
2. Have the banner only display on the home page.
I can do one or the other, but not both. Here's the code that I have in place at the moment; with this, I can restrict the banner to the home page, but I'm pretty sure the domain info in the first line of code is not allowing the Spanish banner to load (using the lang attribute and a custom label, as Birita suggested).
If I take the top line of code and bottom bracket out, I can get it to work great on both supported languages, but the banner appears (and is dismissable) on every site page.
Also, I ran into the X/dismiss button in the top right disappearing for me, but once it was published and live on our help center, the X was visible and persisted.
Thank you all for any/all help!
Deb
Kommentar anzeigen · Gepostet 05. Apr. 2018 · Deb Chatigny
0
Follower
0
Stimmen
0
Kommentare
Deb Chatigny hat einen Kommentar hinterlassen
Shout out to Birita's post on how to show alerts in different languages!
This worked if I made discrete, standalone articles in each language, but didn't work using translated articles that were associated with a parent article. Our help center is only in English and Spanish at the moment, and I would normally have just created one parent English article, then added the associated Spanish article (this is assuming you have the same alert that you need to show in multiple languages).
Using the labels alert-en-US for English articles, and alert-es-419 for Spanish articles, worked - but again, only if they were completely separate from each other, which makes article management a bit more work.
Has anyone else tried this and found a way to post alerts in different languages, using variants, labels, or another way?
Thanks!
Deb
Kommentar anzeigen · Gepostet 15. Feb. 2018 · Deb Chatigny
0
Follower
0
Stimmen
0
Kommentare
Deb Chatigny hat einen Kommentar hinterlassen
Hi Wes/All,
Great tips and supremely helpful! I was able to set up the notification banner and begin styling it.
I don't understand where I'm supposed to add the code to only show the banner on the Home page (using the instructions at the bottom of the Github page). I've added it to the MS Notification code section, and at the beginning and end of the entire page code, but it's not working and just hides the banner. Can you please provide more specifics on exactly where to add it into the JS file?
Thanks!
Deb
Kommentar anzeigen · Gepostet 15. Feb. 2018 · Deb Chatigny
0
Follower
0
Stimmen
0
Kommentare