Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Dave Kavalsky's Avatar

Dave Kavalsky

Beigetreten 28. Mai 2021

·

Letzte Aktivität 27. Okt. 2021

Folge ich

0

Follower

0

Gesamtaktivitäten

8

Stimmen

0

Abonnement

1

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Dave Kavalsky

Dave Kavalsky hat einen Kommentar hinterlassen

Community-Kommentar 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.

Kommentar anzeigen · Gepostet 22. Aug. 2014 · Dave Kavalsky

0

Follower

0

Stimmen

0

Kommentare


Dave Kavalsky hat einen Kommentar hinterlassen

Community-Kommentar 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.

Kommentar anzeigen · Gepostet 22. Aug. 2014 · Dave Kavalsky

0

Follower

0

Stimmen

0

Kommentare


Dave Kavalsky hat einen Kommentar hinterlassen

Community-Kommentar 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.

Kommentar anzeigen · Gepostet 19. Aug. 2014 · Dave Kavalsky

0

Follower

0

Stimmen

0

Kommentare


Dave Kavalsky hat einen Kommentar hinterlassen

Community-Kommentar 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?

Kommentar anzeigen · Gepostet 18. Aug. 2014 · Dave Kavalsky

0

Follower

0

Stimmen

0

Kommentare


Dave Kavalsky hat einen Kommentar hinterlassen

Community-Kommentar Discussion - Tips and best practices from the community

Hi @Wes

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

Kommentar anzeigen · Gepostet 18. Aug. 2014 · Dave Kavalsky

0

Follower

0

Stimmen

0

Kommentare


Dave Kavalsky hat einen Kommentar hinterlassen

Community-Kommentar Discussion - Tips and best practices from the community

Thanks! @Wes!

I really appreciate it.

Kommentar anzeigen · Gepostet 15. Aug. 2014 · Dave Kavalsky

0

Follower

0

Stimmen

0

Kommentare


Dave Kavalsky hat einen Kommentar hinterlassen

Community-Kommentar 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!

Kommentar anzeigen · Gepostet 14. Aug. 2014 · Dave Kavalsky

0

Follower

0

Stimmen

0

Kommentare