Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Customizing User Module View modes: 
User avatar
Member
Member
Armysniper89 - 3/26/2013 10:40:45 AM
   
Customizing User Module
I need to add a tab to the User screen that displays jobs they have posted with our Job Board module. Where do I start?

User avatar
Kentico Support
Kentico Support
kentico_filipl - 3/26/2013 12:45:20 PM
   
RE:Customizing User Module
Hello,

What exactly are you trying to achieve? Do you need to add a new tab for editors to CMS Desk? If so, you can take a look in Developer's Guide - Adding a new main tab to CMS Desk.

If it is not what you are looking for, could you please try to describe it in further details? Do you want to create a page on the live site which displays posted jobs or do you need to add a column for registered users in Site Manager -> Administration -> Users?

Best regards,
Filip Ligac

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 3/26/2013 1:42:38 PM
   
RE:Customizing User Module
I give an example here on how to add a tab to the Document Type page. I believe the User page would be very similar, just need to find the aspx page you need to edit. You can do this by selecting a user and right clicking the white space where the tabs are and clicking properties, it will show the URL of the page with the tabs on it. If it is anything like Document Types, it should be pretty easy.

Just keep in mind, if that page is updated by Kentico, your work could be overwritten.

User avatar
Kentico Support
Kentico Support
kentico_filipl - 3/27/2013 4:03:21 AM
   
RE:Customizing User Module
Hello,

Thanks for pointing that out. If that is the case, it is possible to do that by editing ~\CMSModules\Membership\Pages\Users\User_Edit.aspx.cs file. All you need to do is add a new record to tabs array in the way other tabs are inserted.

The example could look like this:
lastTabIndex++;
tabs[lastTabIndex, 0] = "Test tab";
tabs[lastTabIndex, 1] = "SetHelpTopic('helpTopic', 'your_helpdoc');";
tabs[lastTabIndex, 2] = ResolveUrl("~/CMSModules/Testing/Pages/Test_Page.aspx?userid=" + userId + "&siteid=" + SiteID);

Best regards,
Filip Ligac