<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Alternative display order in Content Query Web Part</title>
	<atom:link href="http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/</link>
	<description>Innovation Matters &#124; SharePoint Server MVP &#124; ISSN 2210-9390</description>
	<lastBuildDate>Thu, 09 Feb 2012 05:22:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-54844</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 26 Aug 2010 14:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-54844</guid>
		<description>Hi Waldek,

Thanks, that did the job. Except that every item (row) that is higher than three has the same div id. What I would like is that all items higher than three will appear in the same (one) div. Not that every item is wrapped in a seperate div. I hope you understand and know a solution to this.

Thanks again.</description>
		<content:encoded><![CDATA[<p>Hi Waldek,</p>
<p>Thanks, that did the job. Except that every item (row) that is higher than three has the same div id. What I would like is that all items higher than three will appear in the same (one) div. Not that every item is wrapped in a seperate div. I hope you understand and know a solution to this.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-54833</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Thu, 26 Aug 2010 12:33:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-54833</guid>
		<description>@Kevin: if you look carefully inside ContentQueryMain.xsl you will see that for some Item Templates it passes the number of the current record (pos parameter). What you would need to do is to pass that variable to your Item Template and then do a simple xsl:if comparison in the Item Template itself.</description>
		<content:encoded><![CDATA[<p>@Kevin: if you look carefully inside ContentQueryMain.xsl you will see that for some Item Templates it passes the number of the current record (pos parameter). What you would need to do is to pass that variable to your Item Template and then do a simple xsl:if comparison in the Item Template itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-54832</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 26 Aug 2010 12:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-54832</guid>
		<description>Hi Waldek,

Interesting post. I have a different kind of situation, maybe you can help me out.
I have a CQWP that show&#039;s all new contracts within our organization. By default is shows only 3 items, this is set in the properties of the CQWP. I would like to implement some sort of functionality (probably jquery) to give users the ability to view all contracts, instead of three. I made a simple jquery script that shows and hides a div when a link is clicked, but how can I make it work that after three records a link is visible to show/hide the rest of the records? I have to count the rows in the xsl and after three rows the other rows have to get a different id, but how can i do that?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Waldek,</p>
<p>Interesting post. I have a different kind of situation, maybe you can help me out.<br />
I have a CQWP that show&#039;s all new contracts within our organization. By default is shows only 3 items, this is set in the properties of the CQWP. I would like to implement some sort of functionality (probably jquery) to give users the ability to view all contracts, instead of three. I made a simple jquery script that shows and hides a div when a link is clicked, but how can I make it work that after three records a link is visible to show/hide the rest of the records? I have to count the rows in the xsl and after three rows the other rows have to get a different id, but how can i do that?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-45127</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Tue, 23 Mar 2010 06:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-45127</guid>
		<description>@Ganesh: You would have to extend the Content Query Web Part and add either a custom XSLT function or a custom XSLT parameter.</description>
		<content:encoded><![CDATA[<p>@Ganesh: You would have to extend the Content Query Web Part and add either a custom XSLT function or a custom XSLT parameter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-45102</link>
		<dc:creator>Ganesh</dc:creator>
		<pubDate>Mon, 22 Mar 2010 15:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-45102</guid>
		<description>Hi,

I want to get the cqwp name or the list name whichis referred in cqwp when it returns no items in xslt. How to acheive it?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I want to get the cqwp name or the list name whichis referred in cqwp when it returns no items in xslt. How to acheive it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-45003</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Sat, 20 Mar 2010 11:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-45003</guid>
		<description>@Ashwini: Sure, you would have have to perform the check in the ContentQueryMain.xsl where you can retrieve the number of items found. If it&#039;s 0, you could display the button. The only challenge is, that this button couldn&#039;t have any server side code attached to it as it&#039;s XSLT only. If you want to attach a button, you would have to extend the CQWP and perform the check in the WebPart&#039;s code.</description>
		<content:encoded><![CDATA[<p>@Ashwini: Sure, you would have have to perform the check in the ContentQueryMain.xsl where you can retrieve the number of items found. If it&#039;s 0, you could display the button. The only challenge is, that this button couldn&#039;t have any server side code attached to it as it&#039;s XSLT only. If you want to attach a button, you would have to extend the CQWP and perform the check in the WebPart&#039;s code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwini</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-44993</link>
		<dc:creator>Ashwini</dc:creator>
		<pubDate>Sat, 20 Mar 2010 04:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-44993</guid>
		<description>Hi,

I have 2 cqwps for getting the items from 2 different lists. when there are no items i want to show a button in one list and a label in another. Is it possible to do it through xsl?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have 2 cqwps for getting the items from 2 different lists. when there are no items i want to show a button in one list and a label in another. Is it possible to do it through xsl?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-44639</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Sun, 14 Mar 2010 13:38:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-44639</guid>
		<description>@Shaimaa: I don&#039;t know this solution so I can&#039;t really tell what do you need to change to change the flow from vertical to horizontal. Depending on the solution it can be CSS, JavaScript, XSLT of any combination of these.</description>
		<content:encoded><![CDATA[<p>@Shaimaa: I don&#039;t know this solution so I can&#039;t really tell what do you need to change to change the flow from vertical to horizontal. Depending on the solution it can be CSS, JavaScript, XSLT of any combination of these.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaimaa</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-44612</link>
		<dc:creator>Shaimaa</dc:creator>
		<pubDate>Sun, 14 Mar 2010 02:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-44612</guid>
		<description>I try to make it by Css to align my items but it is not work , I used this webpart

http://blogs.microsoft.co.il/blogs/meronf/archive/2007/04/28/-Content-Query-Web-Part-_2B00_-Roller_2800_extended-Content-Query-Web-Part-with-marquee_2900_-.aspx

and I need to make custome xsl to make the marquee one row any Idea ?</description>
		<content:encoded><![CDATA[<p>I try to make it by Css to align my items but it is not work , I used this webpart</p>
<p><a href="http://blogs.microsoft.co.il/blogs/meronf/archive/2007/04/28/-Content-Query-Web-Part-_2B00_-Roller_2800_extended-Content-Query-Web-Part-with-marquee_2900_-.aspx" rel="nofollow">http://blogs.microsoft.co.il/blogs/meronf/archive/2007/04/28/-Content-Query-Web-Part-_2B00_-Roller_2800_extended-Content-Query-Web-Part-with-marquee_2900_-.aspx</a></p>
<p>and I need to make custome xsl to make the marquee one row any Idea ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldek Mastykarz</title>
		<link>http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/comment-page-1/#comment-44263</link>
		<dc:creator>Waldek Mastykarz</dc:creator>
		<pubDate>Sun, 07 Mar 2010 09:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mastykarz.nl/alternative-display-order-content-query-web-part/#comment-44263</guid>
		<description>@shaimaa: You can do this in two ways. You can either create a custom XSLT or utilize CSS to align your items next to each other instead of in a column.</description>
		<content:encoded><![CDATA[<p>@shaimaa: You can do this in two ways. You can either create a custom XSLT or utilize CSS to align your items next to each other instead of in a column.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

