Search

Need a custom module?

Should you have any questions about custom DNN modules or web projects, please let us know

Latest Discussions

Error on by Stan Kitson
I'm getting this error in the Ultra Media Gallery, verson 5.4.0. Running DNN 6....
EncodingFailed on YouTube Link by Tim Tho
Hi, I am trying to add a YouTube link to a brand new installation of DNN and ...
You are allowed to setup 3 gallery instances with Ultra Media Gallery trial version... by Max Marcus
We're running a licensed copy of UMG 8.5.0 revision 40872 on a DNN 04.09.05 webs...
Log Users by Name that watch a video by Lewis Hill
We have an education site using UVG and is it possible to log the names of users...
WOrking on DNN 6.1.3 by msellers@iowacomputergurus.com
What version of UMG works with 6.1.3? Just tried the current version and get ...

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:13201


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:13201


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:13201


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

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