최근 검색


최근 검색 없음

Dave Kavalsky's Avatar

Dave Kavalsky

가입한 날짜: 2021년 5월 28일

·

마지막 활동: 2021년 10월 27일

팔로잉

0

팔로워

0

총 활동 수

8

투표 수

0

가입 플랜

1

활동 개요

님의 최근 활동 Dave Kavalsky

Dave Kavalsky님이 에 댓글을 입력함

커뮤니티 댓글 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.

댓글 보기 · 2014년 8월 22일에 게시됨 · Dave Kavalsky

0

팔로워

0

투표 수

0

댓글


Dave Kavalsky님이 에 댓글을 입력함

커뮤니티 댓글 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.

댓글 보기 · 2014년 8월 22일에 게시됨 · Dave Kavalsky

0

팔로워

0

투표 수

0

댓글


Dave Kavalsky님이 에 댓글을 입력함

커뮤니티 댓글 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.

댓글 보기 · 2014년 8월 19일에 게시됨 · Dave Kavalsky

0

팔로워

0

투표 수

0

댓글


Dave Kavalsky님이 에 댓글을 입력함

커뮤니티 댓글 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?

댓글 보기 · 2014년 8월 18일에 게시됨 · Dave Kavalsky

0

팔로워

0

투표 수

0

댓글


Dave Kavalsky님이 에 댓글을 입력함

커뮤니티 댓글 Discussion - Tips and best practices from the community

Hi @Wes

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

댓글 보기 · 2014년 8월 18일에 게시됨 · Dave Kavalsky

0

팔로워

0

투표 수

0

댓글


Dave Kavalsky님이 에 댓글을 입력함

커뮤니티 댓글 Discussion - Tips and best practices from the community

Thanks! @Wes!

I really appreciate it.

댓글 보기 · 2014년 8월 15일에 게시됨 · Dave Kavalsky

0

팔로워

0

투표 수

0

댓글


Dave Kavalsky님이 에 댓글을 입력함

커뮤니티 댓글 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!

댓글 보기 · 2014년 8월 14일에 게시됨 · Dave Kavalsky

0

팔로워

0

투표 수

0

댓글