Locked new! Tag (Icon)

Locked

  • Mittwoch, 21. März 2007 12:20
     
     

    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

Alle Antworten

  • Mittwoch, 21. März 2007 12:24
     
     

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

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

     

  • Mittwoch, 21. März 2007 13:27
     
     

    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

  • Donnerstag, 22. März 2007 12:58
     
     Beantwortet

    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