Search

Need a custom module?

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

Latest Discussions

UMG Uploader Australian iTunes by bmartin
We are looking at purchasing UMG. We would like to test the ios UMG Uploader ...
Add from Inetrnet not working by Andrew Newth
DNN 7.4 UMG 9.7 I have 3 albums set up using tile grid. I just added a fourt...
Styling Album list by Tim Hardin
I have a gallery with 13+ albums. In the past, in a prior instance I don't have...
Album Link Address by David Weaver
Hi guys. I'm using Ultra Media Gallery version 8.6 on a DotNetNuke platform ver...
I broke it... by Tim Hardin
I had a photo gallery running UMG 5.5.0 on www.pcftour.org Recently I upgraded ...

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


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


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


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

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