Recherches récentes


Pas de recherche récente

Dave Kavalsky's Avatar

Dave Kavalsky

Adhésion le 28 mai 2021

·

Dernière activité le 27 oct. 2021

Suivis

0

Abonnés

0

Activité totale

8

Votes

0

Abonnement

1

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Dave Kavalsky

Dave Kavalsky a ajouté un commentaire,

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

Thanks!
I actually may have jumped the gun a bit though. Looking at this further, "More..." is no longer rendering either so I might be back to square one but I know that the closing is causing this behavior somehow. If the tag were left open from "More..." through to the "See all" links, we should be good.

Afficher le commentaire · Publication le 22 août 2014 · Dave Kavalsky

0

Abonnés

0

Votes

0

Commentaire


Dave Kavalsky a ajouté un commentaire,

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

Hi @Wes and @Janet

Just wanted to post a quick note that I found the culprit of this issue but fixing it seems to have caused another issue. Toward the end of the JS, there is this line of code...

  $("" + linkText +  "").insertAfter($(categories[j]));

This line of code seems to mostly only apply if you have more than 6 articles in a given section. The problem is that it closes the link for the word "More..." and then the .insertAfter($(categories[j])); code adds the "See all # articles" text. So basically, the closing causes "More..." and "See all # articles" to be treated as two separate links because one link closes and the other then opens.

So removing that closing solves the problem while still showing only 3 articles per section but if you have 4-6 articles in the section, it actually no longer shows a link of any kind below the first three articles and I can't figure out why. I'm going to keep digging into this and will keep you guys posted but I feel like I'm getting closer.

Afficher le commentaire · Publication le 22 août 2014 · Dave Kavalsky

0

Abonnés

0

Votes

0

Commentaire


Dave Kavalsky a ajouté un commentaire,

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

Hi @Janet

I did notice that but I was able to make an adjustment to the JS that Wes provided to keep them the same size. More specifically, the snippet Wes provided declares the link class as a "MoreTopics" class whereas the normal links use the "see-all-articles" class. By changing "moretopics" to "see-all-articles," the link styling becomes consistent.

I'm also leaning toward just changing the text altogether but I really want to find a way to let users know how many articles are in that section.

Afficher le commentaire · Publication le 19 août 2014 · Dave Kavalsky

0

Abonnés

0

Votes

0

Commentaire


Dave Kavalsky a ajouté un commentaire,

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

Thanks @Wes

If possible, I would really like to keep the current wording but as one cohesive link. If I rename it, is there a way for me to dynamically call on the number of articles in the section?

Afficher le commentaire · Publication le 18 août 2014 · Dave Kavalsky

0

Abonnés

0

Votes

0

Commentaire


Dave Kavalsky a ajouté un commentaire,

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

Hi @Wes

Just wanted to confirm that I am also using the Swift Elk theme.

Afficher le commentaire · Publication le 18 août 2014 · Dave Kavalsky

0

Abonnés

0

Votes

0

Commentaire


Dave Kavalsky a ajouté un commentaire,

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

Thanks! @Wes!

I really appreciate it.

Afficher le commentaire · Publication le 15 août 2014 · Dave Kavalsky

0

Abonnés

0

Votes

0

Commentaire


Dave Kavalsky a ajouté un commentaire,

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

Hi Wes,

The sample code has been great but I'm running into an issue with it for any section that has more than 6 articles in it. More specifically, everything renders fine for sections that have 4-6 articles in it but if there are 7 or more articles, "More..." and "See all # articles" underline separately as if they are for separate links. Both links function properly but it's driving me nuts that any section with 7 or more articles looks like "More..." and "See all # articles" are separate links.

Have you seen this before? Do you know how I can fix this?

Thanks!

Afficher le commentaire · Publication le 14 août 2014 · Dave Kavalsky

0

Abonnés

0

Votes

0

Commentaire