Intranet News Teaser Icons

Dan Osby asked on April 9, 2015 21:22

How you you remove the news teaser icons? We do not want to have to upload a teaser image with each item nor do we want the default camera icon to display.

Correct Answer

Dan Osby answered on April 14, 2015 23:50

From Kentico Support...

"To be able to edit transformations in the Intranet latest news widget, you have to first enable this option in the Widgets application. Here search for Intranet latest news, go to Properties select field TransformationName and check Display field in editing form checkbox."

0 votesVote for this answer Unmark Correct answer

Recent Answers


Rui Wang answered on April 9, 2015 21:39

You can edit the transformation for the news listing web part (ex: a repeater) and remove the code for teaser image.

Something like this

  <div class="teaser">
<a href="{% url %}" title="{% title %} ">
  {% if (String.IsNullOrEmpty(NewsTeaser)) 
    { 
      "<img src=\"~/App_Themes/CorporateSite/Images/no_image_news.png\" width=\"60\" alt=\"Default news teaser image\" />"  
    } 
    else 
    { 
      GetImage(NewsTeaser, title, 90, 0, 0) } 
  #%}
</a>

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 11, 2015 20:17

In the News page type, you'd set the field to "not required" and "hide on public form". If you simply delete it, you'll have to fix all transformations (not that you shouldn't) but this will give you a quick fix to hide it from the form and not require users to enter something.

0 votesVote for this answer Mark as a Correct answer

Dan Osby answered on April 13, 2015 18:55

Brenden, we cannot find where to set the field to "not required" and "hide on public form". Do you mean Admin \ Pages or Admin \ Templates?

0 votesVote for this answer Mark as a Correct answer

Dan Osby answered on April 13, 2015 22:42

OK, found out how to hide it on the editing form, but it still shows up on the list of news articles on the home page.

0 votesVote for this answer Mark as a Correct answer

Dan Osby answered on April 13, 2015 23:00

Hi Rui, I apologize but I'm a newbie with Kentico. How do I find where to edit the transformation for the news listing web part? I went to Admin\Web Parts\News List, but I can't find anywhere to edit the transformation!

0 votesVote for this answer Mark as a Correct answer

Dan Osby answered on April 13, 2015 23:10

OK Rui, I think I found where to modify the transformation. But the code you gave didn't do anything.

This simple little thing should not be so hard to pull off!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.