Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Conditional WebPart Layouts View modes: 
User avatar
Member
Member
Armysniper89 - 10/12/2010 5:16:27 PM
   
Conditional WebPart Layouts
If I wanted to display a specific layout based on whether a user is logged in or not (say the Document Attachments web part), how can I do this easily? I have a custom version of the DocumentAttachments web part layout that displays the list of document attachments but if the user is not logged in, displays additional text recommending they login to download since logged in users are the only ones that see actual links. I want to be able to display this custom text only if they are not logged in but you cannot choose layouts from what I can see based on a condition.

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 10/15/2010 6:21:02 AM
   
RE:Conditional WebPart Layouts
Hi,

this topic is discussed here.

Best regards,
Ivana Tomanickova