Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Page-related events View modes: 
User avatar
Member
Member
JasonT - 7/31/2012 10:23:27 AM
   
Page-related events
Is it possible to go only show events based upon what area of the site a user is visiting? For example, if a user is in History can we show only events marked as History, or if a user is in Education, can we only show events marked as Education?

If so, how would we go about setting that up?

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 8/1/2012 4:24:59 AM
   
RE:Page-related events
Hello.

Well, if you have just a few sections, you could use multiple repeater web parts on your page and set their Visible property dynamically, according to current document path or a name. So, if the current alias path contains “Education” word, one repeater will be shown and other will be hidden.

Or, you could have one repeater only and use a Where condition property with wildcard URL. Of course, you would need to extend your document type by another column to store section name, given document should be displayed for.

Best Regards,
Radek Macalik

User avatar
Member
Member
JasonT - 8/1/2012 8:17:54 AM
   
RE:Page-related events
Thanks Radek, we'll have somewhere b'n 12 and 15 sections so that 2nd solution sounds like a more scalable solution.