Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Using page tagging and "filed under:" View modes: 
User avatar
Member
Member
fabulous-thewhiteagency.com - 4/16/2009 1:37:06 AM
   
Using page tagging and "filed under:"
Hi guys,

I'm fairly new to Kentico, and have a question regarding tagging (which isn't explained thouroughly in the docs)

So as you can tag each page under "meta data" i want to have a web part type module that has "Filed Under:" for every page - The same way the blog posts work, however i want it on non-blog page items.

Any ideas? is there a macro that can do this?

Many thanks in advance

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/23/2009 5:22:18 AM
   
RE:Using page tagging and "filed under:"
Hi,

Could you please take look into the Tag cloud usage?

At the bottom is described how to achieve what you want to have - the Filed under. For this is used the repeater with transformation. For example on the sample community site is used this in the repeaters selected item transformation:

<div class="BlogPDateWhole">
Posted by <a href="~/Members/<%# BlogFunctions.GetUserName(Eval("NodeOwner")) %>.aspx"><strong><%# BlogFunctions.GetUserFullName(Eval("NodeOwner")) %></strong></a> on <span class="BlogPDate"><%# Eval("BlogPostDate") %></span></div><div class="BlogTagsWhole">
<%# IfEmpty(Eval("DocumentTags"),"","Filed under: " + BlogFunctions.GetDocumentTags(Eval("DocumentTagGroupID"), Eval("DocumentTags"), "~/Blogs/Blog-posts.aspx")) %></div>


I hope it makes more sense now.

Best Regards,
Juraj Ondrus