Tag Cloud

David Pearson asked on January 23, 2015 15:17

I am looking for a setting that allows me to set the links in the Tag Cloud; the query string to tagname=Sometagname instead of tagid=1. Currently on Kentico 8.1, maybe it is in 8.2

Thanks David

Recent Answers


Roman Hutnyk answered on January 23, 2015 15:32

David,

Kentico allows you to change tagid to whatever you need in tag cloud web parts, but I don't think you can change value field. You might need to adjust source code of that web part in order to achieve this.

0 votesVote for this answer Mark as a Correct answer

David Pearson answered on January 23, 2015 15:58

Thanks Roman, Looks like I need to take add a string public property to TagCloud.ascx.cs to allow selection then modify line 514 to use the value ValidationHelper.GetString(dr[ValueField]),"").

Once that is done I need to look at the new list... to make it use the value.

David

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 23, 2015 17:29

David,

I modified the standard tag cloud webpart to do this very thing but it is for v6 and v7. It was a bit more involved than you explain because the tags need to be URL friendly as well.

You can find it in the Marketplace. I'll work on updating it for v8 as well.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.