最近搜索


没有最近搜索

Oren Ben Ami's Avatar

Oren Ben Ami

已加入2021年4月16日

·

最后活动2021年10月27日

关注

0

关注者

0

活动总数

10

投票

0

订阅

2

活动概览

的最新活动 Oren Ben Ami

Oren Ben Ami 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Works perfectly! Thanks so much!

查看评论 · 已于 2021年8月16日 发布 · Oren Ben Ami

0

关注者

0

投票

0

评论


Oren Ben Ami 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Just to clarify:

Category: DRI
Section: Getting Started
Article: Building a Dashboard (ORIGINAL ARTICLE I CREATED)

I want to have the following:
Category: DMI
Section: Getting Started
Article: Building a Dashboard (A NEW ARTICLE I CREATE WITH NO CONTENT. I ADD THE ORIGINAL ARTICLES ID TO THE LABEL). So, when someone clicks that article, they will be redirected. 

Is this correct? Also, do I have to put an article ID of over 200000000 in the original article?

查看评论 · 已于 2021年8月16日 发布 · Oren Ben Ami

0

关注者

0

投票

0

评论


Oren Ben Ami 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Thanks for getting back to me. I was able to implement the code, but what I am missing is how to include that same article in two places (how do I list it in 2 places, the original section, and then the other section where I want it to be linked from). So, it exists in one place already. I want to put the article link in another place, but I can't figure out how to do that. 

查看评论 · 已于 2021年8月16日 发布 · Oren Ben Ami

0

关注者

0

投票

0

评论


Oren Ben Ami 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Hi Alejandro,

I have the following:

Category: DRI
Section: Getting Started
Article: Building a Dashboard

I want to have the following:
Category: DMI
Section: Getting Started
Article: Building a Dashboard (redirected to DRI > Getting Started > Building a Dashboard)

How do I do this? Meaning, how do I get it listed in my second example to get redirect to the first example. And, what label do I add to the article? I have many articles I want located physically in one section but linked to different sections.

Any help would be much appreciated,
Oren

查看评论 · 已于 2021年8月15日 发布 · Oren Ben Ami

0

关注者

0

投票

0

评论


Oren Ben Ami 进行了评论,

社区评论 Q&A - Help center and community

@... I appreciate all your help! I will give it a try...

查看评论 · 已于 2021年7月01日 发布 · Oren Ben Ami

0

关注者

0

投票

0

评论


Oren Ben Ami 进行了评论,

社区评论 Q&A - Help center and community




{{#if section.articles}}

    {{#is section.id 111111111}}
  • This is a customized link

  • {{/is}}
    {{#each section.articles}}
    class="article-list-item {{#if promoted}}article-list-item--is-promoted{{/if}}">
    {{#if promoted}}

    {{/if}}
    {{title}}

    {{/each}}

{{else}}

{{t 'empty'}}


{{/if}}

{{pagination}}


查看评论 · 已于 2021年6月29日 发布 · Oren Ben Ami

0

关注者

0

投票

0

评论


Oren Ben Ami 进行了评论,

社区评论 Q&A - Help center and community

Hi Bruce,

Thanks for the detailed explanation. I gave a label "video" to one of my articles, and then I added your code. However, I got the following in the section_page.hbs file:

2 errors
'labels' does not exist
'labels' does not exist
 
Any suggestions? 
Oren

查看评论 · 已于 2021年6月27日 发布 · Oren Ben Ami

0

关注者

0

投票

0

评论


Oren Ben Ami 创建了一个帖子,

帖子 Q&A - Help center and community

I want to display a video icon next to article links for articles that contain embedded videos. So, for each article that has an embedded video, I created a label "video".

Is there a way to have an if/else query for labels in the Category/Section pages that display article links? For example:

{{title}}

I obviously don't know how to write If/Else queries, but I hope my explanation is clear. Any help would be appreciated.

已于 2021年6月17日 发布 · Oren Ben Ami

1

关注者

4

投票

6

评论