Sven Gillis

Hello,

I want to know how do you expand the expired date of the new! icon within a Content Query Webpart. Standard the duration of the icon is 3(or 2) days, but i have to change that to 7 days.

Can someone help me, please.

Greets



Re: SharePoint - Design and Customization new! Tag (Icon)

Mattias Sjogren

See http://support.microsoft.com/kb/825510

Replace -pv 0 with -pv 7 in your case.






Re: SharePoint - Design and Customization new! Tag (Icon)

Sven Gillis

Thanks for your quick response.

This command helps for a document library , but not for a Content Query Webpart :-( Do you have an idea why

Greetz
Sven





Re: SharePoint - Design and Customization new! Tag (Icon)

Frederik Vantroys

Hello Sven,

I think you'll have to modify the contentquerymain and itemstyle xsl files (are under the style library in a folder xsl stylesheets)

You probably will have to write a little function yourself in there ... if date is not older than 7 days, then show image ...

F