True, usually only done for News on the homepage, so 1 or 2 "More..." links :)



Hans Molleman  |  obs<http://www.obs.com.au/>  |  Senior Consultant  |  
[email protected] |  +61 449 099 095

From: [email protected] [mailto:[email protected]] On Behalf Of Aaron Cunnington
Sent: Wednesday, 4 February 2009 11:22
To: [email protected]
Subject: RE: Display text "More" in Content Query Web Part

I often do the same as Hans if it is only the one or two places you need this, 
however, if you need to use this in multiple places, rolling your own content 
query webpart is certainly a better way going forward.

Just my 2 cents :)

Aaron Cunnington

Level 2, Suite 207| 83 York Street | Sydney NSW | Australia 2000
m: 0413 930025 | w: 02 8275 8811 | f: 02 8275 8877

[cid:[email protected]]<http://www.antaressolutions.com.au/>       
     [cid:[email protected]]



From: [email protected] [mailto:[email protected]] On Behalf Of Hans Molleman
Sent: Wednesday, 4 February 2009 10:47 AM
To: [email protected]
Subject: RE: Display text "More" in Content Query Web Part

I usually just put a content editor webpart underneath the content query 
webpart with the text "more..." with a link to e.g. the news site where more 
items are listed.

Good luck,



Hans Molleman
Senior Consultant
[cid:[email protected]]<http://www.obs.com.au/>

Passion > Innovation > Success
Australia's Premier SharePoint Specialists
Level 9, 37 York Street, Sydney, New South Wales, Australia  2000
Phone: +612 9008 3315    Mobile: 0449 099 095



From: [email protected] [mailto:[email protected]] On Behalf Of Jeremy Thake
Sent: Monday, 2 February 2009 16:21
To: [email protected]
Subject: RE: Display text "More" in Content Query Web Part

Ken,

There's a few more links on Content by Query Web Part here:
http://www.sharepointdevwiki.com/display/public/Content+Query

Cheers,
Jeremy

From: [email protected] [mailto:[email protected]] On Behalf Of Jeffery Tsui
Sent: Monday, February 02, 2009 1:33 PM
To: [email protected]
Subject: RE: Display text "More" in Content Query Web Part

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

Other lists you might want to join: 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
Other lists you might want to join: 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
Other lists you might want to join: 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
Other lists you might want to join: 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
Other lists you might want to join: 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
Other lists you might want to join: 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
Other lists you might want to join: 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

<<inline: image001.gif>>

<<inline: image002.gif>>

<<inline: image003.jpg>>

Reply via email to