Ana içeriğe geç

How do I change the number of news posts shown on the portal home page? - Bilgi Bankası / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. Consider upgrading to Deskpro Horizon

How do I change the number of news posts shown on the portal home page?

Yazarlar listesi

Question:

I want to increase the number of news posts shown on the section of the portal home page highlighted below. How do I show the most recent five articles here?

 

 

Answer:

You can do this by editing the portal templates. 

1. Go to the portal editor at Admin > User Interface > Portal.

2. Click the Template Editor section at the lower left.



3. In the Portal section, select the home.html template.

6. The template editor opens. Find the line that says:

{% show section news_list_excerpts with { count: 2, show_category_link: true } %} 

Edit the number in count: 2 to the desired number of articles: in this case, 5.

7. Click the X at the top right of the template editor to close it.

8. Click the green Preview Changes button at the top of the screen to see the effect of the edit and verify that the section now shows five articles instead of two.

9. Click the green Save Changes button at the top of the screen to save your edit and apply it to your live portal.

 

 

 

Yararlı Yararlı değil

60 kişiden 29 kişi bu sayfayı yararlı buldu

Bir yorum ekle

Bir yorum gönderebilmek için lütfen oturum açın ya da kayıt olun.

Bir parola hatırlatıcısına ihtiyacın var mı?