Hi Ken,

 

CQWP uses XSL to transform the result items. You can modify the XSLT to
display "More" link depends on the number of items returned. XSLT used by
CQWP is ItemStyle.xsl under "Style Library/XSL Style Sheets", you can modify
the ItemStyle.xsl to add in custom templates however it's highly
un-recommended. I would suggest you to create custom webpart inherit from
CQWP and point it to a custom xsl.

 

Xsl syntax to get row count

 <xsl:variable name="RowCount" select="count($Rows)"/>

 

Cheers

Jeffery

 

From: [email protected] [mailto:[email protected]] On Behalf Of ken zheng
Sent: Monday, 2 February 2009 2:45 PM
To: [email protected]
Subject: RE: Display text "More" in Content Query Web Part

 

Thanks Paul, I may have to do that if it is hard in Content Query

  _____  

Date: Mon, 2 Feb 2009 14:38:42 +1100
From: [email protected]
Subject: RE: Display text "More" in Content Query Web Part
To: [email protected]

Hi ken,

 

You can always just set the title URL to link to the list.

 

Regards,

Paul

Online Developer, ICT
CEO Sydney

From: [email protected] [mailto:[email protected]] On Behalf Of ken zheng
Sent: Monday, 2 February 2009 2:00 PM
To: [email protected]
Subject: Display text "More" in Content Query Web Part

 

Hi:

  I am using Content Query Web part to query a list and I want to have a
text "More" which link to the list if There are more item than the defined
limite items on the page.

Anyone knows how?

Cheers

Ken

  _____  

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ:  <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  <http://www.codify.com/lists>
http://www.codify.com/lists

  _____  

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ:  <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  <http://www.codify.com/lists>
http://www.codify.com/lists

  _____  

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ:  <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  <http://www.codify.com/lists>
http://www.codify.com/lists

--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to