This forum is obsolete

This support forum has been replaced by a news version. You can browse old posts in this forum, but please post your questions to the new forum by clicking on "Support" in the top level menu.

Support Forum
Subject: Limit Tag Cloud?
Prev Next
You are not authorized to post a reply.

Author Messages
m money
Posts:15
Silver Member

01/03/2012 2:32 PM  
Hi,

Is there a way to limit the number of tags that appear in the tag cloud?

Thanks
Pengtsen R
Posts:13550


01/04/2012 9:11 PM  
you can make a slight modification to UVG_TagListAndSort procedure in database to limit the number of tags.

Pengtsen R
http://www.bizmodules.net
m money
Posts:15
Silver Member

01/05/2012 8:39 AM  
What sort of modification would achieve this?

Thanks
Pengtsen R
Posts:13550


01/10/2012 8:01 AM  
change:

if @Count>0
SET @SQLString = @SQLString + 'set rowcount ' +cast(@Count as varchar(10))+ char(13)+char(10)


to:


if @Count>0
SET @SQLString = @SQLString + 'set rowcount ' +cast(@Count as varchar(10))+ char(13)+char(10)
else
SET @SQLString = @SQLString + 'set rowcount YOURDESIREDROWCOUNT' + char(13)+char(10)

Pengtsen R
http://www.bizmodules.net
m money
Posts:15
Silver Member

01/10/2012 11:15 AM  
Thanks! Excellent.
Pengtsen R
Posts:13550


01/14/2012 9:17 AM  
always glad to help.

Pengtsen R
http://www.bizmodules.net
You are not authorized to post a reply.

Copyright © 2005-2013 BizModules Contact us