Anna,You just need to modify the CQWP by getting the date that you want to |
John Stover posted on Sunday, March 11, 2007 6:31 PM
|
Anna,
You just need to modify the CQWP by getting the date that you want to base
matching for 'new' on and edit the XSL to peform the checking and placing
the appropriate styling/image in place to show that it is "new!".
Hope this helps,
John Stover |
 |
|
I have the answer. you just have to past a piece of code to the itemlist. |
Komakin posted on Thursday, March 22, 2007 12:45 AM
|
I have the answer. you just have to past a piece of code to the itemlist.xsl
in the style library. Then you have to refer the CQWebpart to this new added
style (edit the webpart --> display styles)
i'll add the piece of code here, asap.
greets |
 |
|
How to display "new!" tag in Content Query WebPart |
Komakin posted on Thursday, March 22, 2007 2:33 AM
|
1)Add this line to the root style sheet element <xsl:stylesheet
xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
2)Add this part below <xsl:template name="TitleOnly"
match="Row[@Style='TitleOnly']" mode="itemstyle"> element
match="Row[@Style='TitleWithNewImageOnly']" mode="itemstyle">
name="OuterTemplate.CallPresenceStatusIconTemplate"/>
title="{@LinkToolTip}"> |
 |
|
How to display "new!" tag in Content Query WebPart |
ania.w posted on Monday, March 26, 2007 4:39 PM
|
Thanks a lot :) I will try it asap!
I have another question.
What is the best approach to display other list/library data fields, I
heard that by default you can only display title, created, description
and rollup image. How to display columns added by user?
Best regards.
Komakino napisał(a): |
 |
|
How to display "new!" tag in Content Query WebPart |
AdriVerlaanMSF posted on Tuesday, March 27, 2007 8:03 PM
|
http://msdn2.microsoft.com/en-us/library/ms497457.aspx
http://msdn2.microsoft.com/en-us/library/aa981241.aspx
Adri [MSFT]
--
This posting is provided "AS IS" with no warranties, and confers no rights. |
 |
|
Thanks Adri,but I have a webpart that cannot be modified from web browser - it |
a posted on Thursday, April 05, 2007 12:31 PM
|
Thanks Adri,
but I have a webpart that cannot be modified from web browser - it is
not in web part zone - that was my choice to not allow users to close
and change appearance of it and I wanted all pages based on this layout
to have this webpart by default. How can I make this modification from
SPD, I can't find the option of export web part in SPD ...
Thanks for help anyway :)
Ann W
Adri Verlaan [MSFT] napisał(a): |
 |
|
Hi Anna,From SPD you can get to each . |
AdriVerlaanMSF posted on Tuesday, April 17, 2007 5:28 PM
|
Hi Anna,
From SPD you can get to each .webpart properties by using the "Tag
Properties" task pane.
Adri Verlaan [MSFT]
--
This posting is provided "AS IS" with no warranties, and confers no rights. |
 |
|