Recherches récentes


Pas de recherche récente

Ziv Bass Specktor's Avatar

Ziv Bass Specktor

Adhésion le 16 avr. 2021

·

Dernière activité le 27 oct. 2021

Suivis

0

Abonnés

0

Activité totale

8

Votes

0

Abonnements

3

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Ziv Bass Specktor

Ziv Bass Specktor a ajouté un commentaire,

Commentaire de la communauté Feedback - Help Center (Guide)

This is a very important feature.

Just as an example - our system sends messages to our clients servers, which have to whitelist our IPs so the messages get through.

Once in a while we update the IPs and unless we notify clients manually about the changes their messages get lost.

We strongly support the feature request that allows sending emails to all followers when the article admin decides, and not with every update that may be small and insignificant.

Afficher le commentaire · Publication le 12 déc. 2017 · Ziv Bass Specktor

0

Abonnés

1

vote

0

Commentaire


Ziv Bass Specktor a ajouté un commentaire,

Commentaire de la communauté Discussion - Tips and best practices from the community

Sure, Ashwini. Here it goes:

/*** Table of contents code ***/
var $headers = $('.article-body h2');

if ($headers.length > 0) {
var $toc = $('

');
var $firstUl = $('

Afficher le commentaire · Publication le 13 août 2017 · Ziv Bass Specktor

0

Abonnés

0

Votes

0

Commentaire


Ziv Bass Specktor a ajouté un commentaire,

Commentaire de la communauté Discussion - Tips and best practices from the community

Nicolas, thanks again for this code.

I made a few small changes and now it works great.

If you have anymore such cool snippets to share don't be shy :-)

Afficher le commentaire · Publication le 03 août 2017 · Ziv Bass Specktor

0

Abonnés

0

Votes

0

Commentaire


Ziv Bass Specktor a ajouté un commentaire,

Commentaire de la communauté Discussion - Tips and best practices from the community

Nicolas, thanks a lot for your swift answer. I really appreciate it.

Yes, I was referring to line 81. The addition of $link makes sense. 

You run on the headers which you get by:
var $headers = $('.article-body h1');

The problems:
1. '.article-body h1' doesn't exist in the article template. 
When I changed the code to 'h1' at least it found the main header.

2. It doesn't find any other h2, h3 etc. in the html so that's the reason why it doesn't do much.

Any idea how to fix this?

 

 

Afficher le commentaire · Publication le 19 juil. 2017 · Ziv Bass Specktor

0

Abonnés

0

Votes

0

Commentaire


Ziv Bass Specktor a ajouté un commentaire,

Commentaire de la communauté Discussion - Tips and best practices from the community

That's a great tip, but it doesn't work :-(

First, the ".appendTo($wrapper);" line gives a syntax error. What should be here before the '.appendTo'?

Second, the code doesn't seem to be called at all. How should it be activated?

Third, isn't ZenDesk responsible for checking and publishing these kind of tips? TOC is a basic feature in most platforms, so at least ZenDesk should guide users on how to do this as the ZD Guide doesn't provide it.

Afficher le commentaire · Publication le 18 juil. 2017 · Ziv Bass Specktor

0

Abonnés

0

Votes

0

Commentaire