Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > How to show Tags related to a particular page? View modes: 
User avatar
Member
Member
Aashish khandelwal - 1/25/2012 6:30:26 AM
   
How to show Tags related to a particular page?
I have added few tags to Article Documents. Now, i want to show tags related to a particular Article document in place of showing all tags.

Please help!!

User avatar
Kentico Support
Kentico Support
kentico_janh - 1/25/2012 7:49:36 AM
   
RE:How to show Tags related to a particular page?
Hello,

You can use - for example - a Static text web part with the following macro in its Text property:

{%
foreach (tag in Tags) {
tag.TagName + ", ";
}
%}


Best regards,
Jan Hermann

User avatar
Member
Member
Aashish khandelwal - 1/25/2012 8:15:46 AM
   
RE:How to show Tags related to a particular page?
I am using tag cloud webpart. Is there any condition we can use in this webpart?

User avatar
Kentico Support
Kentico Support
kentico_janh - 1/26/2012 2:23:17 AM
   
RE:How to show Tags related to a particular page?
Hello,

Of course, please just set its Use document filter property to true and set the Path property above with the path to the current document ./:

Use document filter: true
Path: ./


Best regards,
Jan Hermann