Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > How to invisible hot icon after 10 days View modes: 
User avatar
Member
Member
thandanit - 3/29/2013 4:35:51 AM
   
How to invisible hot icon after 10 days
Hi,
I have a list news and the hot icon. I want to show hot icon beside news. But after 10 days, hot icon will invisible. I cant do it (cant do invisible). Can u help me, please!!!

User avatar
Kentico Support
Kentico Support
kentico_filipl - 3/29/2013 5:16:14 AM
   
RE:How to invisible hot icon after 10 days
Hi,

Do you mean you have a red status icon next to News page? Additionally, do you want to publish them or unpublish them?

You can set Publish from: and Publish to: properties of each one of the news you have in Form tab. So if you want them to stay unpublished, you can set the Publish from: property to a date in the future.

Best regards,
Filip Ligac

User avatar
Member
Member
thandanit - 3/30/2013 12:14:41 PM
   
RE:How to invisible hot icon after 10 days
No...no. You can see this picture.
Help

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/30/2013 12:42:45 PM
   
RE:How to invisible hot icon after 10 days
Hi,

It depends how are you displaying the icon. If it is inside a transformation, I would create a custom transformation function. In the code of this function you will check the date - and according to your rule, you will or will not display the icon.

Best regards,
Juraj Ondrus

User avatar
Member
Member
thandanit - 3/30/2013 12:50:32 PM
   
RE:How to invisible hot icon after 10 days
Ya, thanks. I will try it.