Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Changing the layout of contribution list View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
Gitesh - 10/19/2011 7:51:14 PM
   
Changing the layout of contribution list
Hi guys,

How can I change the layout of contribution list webpart.

Currently the list is shown for the documents with edit and delete button. I would like to change this layout(adding my own divs). Also it shows some columns like last modified and Workflow step which I would like to hide it.

Which file do I go to add the divs and also is it possible to bring some more contents ?

Thanks
Gitesh Shah

User avatar
Member
Member
kentico_michal - 10/24/2011 1:45:25 AM
   
RE:Changing the layout of contribution list
Hello Gitesh,

The Contribution list web part itserlf is located in the following file: ~/CMSWebParts/UserContributions/ContributionList.ascx.cs

However, it uses other two controls and the one you will need to modify is located here: ~/CMSModules/Content/Controls/UserContributions/ContributionList.ascx

And as you can see it uses a standard Kentico CMS UniGrid control. A documentation related to UniGrid can be found here: UniGrid overview

So, you can modify columns displayed by the UniGrid to meet your requirements.

Best regards,
Michal Legen