SharePoint - How to display "new!" tag in Content Query WebPart
Asked By ania.w
10-Mar-07 04:24 PM
Hello,
I want this green tag "new!" that appears in listviews to show up in
content query wp, anybody did that? Any help appreciated.
Regards,
Anna W.
John Stover replied...
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
Komakin replied...
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
Komakin replied...
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}">
ania.w replied...
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):
AdriVerlaanMSF replied...
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.
a replied...
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):
AdriVerlaanMSF replied...
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.
Can't open Navigation in SPD SharePoint SPD is running on a Vista Business PC under Domain Admin rights. MOSS is running on Step by Step", and am on Chapter 1. I have the main site open in SPD and clicked on Navigation at the bottom of the Document Window. However, I see "The Design Discussions SharePoint Designer 2007 (1) Windows Server 2003 R2 (1) Office (1) Vista (1) SPD (1) MySites (1) Got it figured out. My default browser is Firefox; once I changed to learn more. Anyone with a clue on this? keywords: Can't, open, Navigation, in, SPD description: SPD is running on a Vista Business PC under Domain Admin rights. MOSS is running on
Using SPD 2007 with WSS 2 SharePoint I have FP 2003 and SPD 2007 available. Should I start using SPD to edit existing WSS 2 sites so that I can learn it before we upgrade to WSS 3, or hold off on using SPD until we have WSS 3? TIA Dean SharePoint Design Discussions SPD (1) WSS (1) NET (1) FP (1) DeanRe (1) TIA (1) Supported (1) Upgrade (1 NET 2.0 Web parts, which are not supported in .NET 1.1. keywords: Using, SPD, 2007, with, WSS, 2 description: I have FP 2003 and SPD 2007 available. Should I start using SPD to edit existing WSS 2 sites so that I can learn it before we upgrade
0 enterprise edition. If I want to create a workflows then I need to use SPD 2007. SPD 2007 can enable workflows on a pre existing form which resides in a document library use Infopath 2007. Am I right in my understanding? Thank you so much. SharePoint Discussions SPD (1) MOSS 2007 (1) Sharepoint (1) Infopath (1) Sanders (1) Ivan (1) Iasanders (1) Databound 1) You may want to start with a sharepoint list and create the wf with spd to keep it simple. The issues are when creating wf with spd the wf will be a one off. in other words you will only be able you will want to use VS2008. If you need to keep it simple start with SPD and work your way up :). -Ivan http: / / dimension-si.com / blog http: / / linkedin.com / in as the original poster seems to be under the impression that he needs (at least) SPD 2007 to create workflows, here's a clear statement that that's not the case 0 enterprise edition. If I want to create a workflows then I need to use SPD 2007. SPD 2007 can enable workflows on a pre
Open Site in SPD does not show all Themes under _themes folder SharePoint Hello, I am new to MOSS and SPD. We are using MOSS, Windows 2008 Server. I opened our Site using SPD > Open Site. And, I dont see all the themes (OOB and Custom) in the _themes custom themes. Please help. Regards, Kishore SharePoint Design Discussions Windows 2008 Server (1) SharePoint (1) SPD (1) Galant (1) Themes (1) IISRESET (1) Name1011 (1) Inmemory (1) The themes folder shows I would like to make changes to the theme in SharePoint Designer. I went to SPD and Open Site. . ., under Folders, I dont see the custome theme that I had created do an IISRESET after you have pushed your updated theme. Chris keywords: Open, Site, in, SPD, does, not, show, all, Themes, under, _themes, folder description: Hello, I am new to MOSS and SPD. We are using MOSS, Windows 2008 Server. I opened our Site using SPD Open Site. And, I dont see all the themes (OOB and C
SPD - Collect Data from User SharePoint My SPD workflow runs against an Form Library (browser-enabled) in MOSS 2007. I use the "Collect the form in browser (DefaultItemOpen = 0)? Thanks! Sharepoint Windows Services Discussions SharePoint (1) InfoPath (1) SPD (1) MOSS 2007 (1) DefaultItemOpen (1) OpenIn (1) By default, completed Form Library forms are in browser. Check out the following links for steps to update SharePoint source code using SPD: http: / / urenjoy.blogspot.com / 2009 / 05 / related-list-item-doesnt-open-browser.html http: / / sharepointsolutions 04 / using-xslt-to-create-forms-server-link_29.html This is ok if you use SPD workflows, but what about custom VS WF workflows? In that case we have the same issue but I am not sure what to edit. - - Marcel keywords: SPD, -, Collect, Data, from, User description: My SPD workflow runs against an Form Library (browser-enabled) in MOSS 2007. I use the Collect