create new tag
view all tags

Display Users Skills on User Profile Pages

This topic will show you how to get the users skills displayed on their user profile page using the TWikiTemplates system. An example is shown in the screen shot below. This example uses the default PatternSkin, and using an unchanged PatternSkinUserViewTemplate.


The topic you need to edit is Public.PatternSkinUserViewTemplate.

Step 1.

Firstly, add the following line to PatternSkinUserViewTemplate. This needs to be anywhere between %TMPL:INCLUDE{"view"}% and %TMPL:DEF{"formattop"}%:

%TMPL:DEF{"skills"}%<div class="skills_UserHomePage">%SKILLS{action="userskills" user="%TOPIC%"}%</div>%TMPL:END%

Step 2.

Next, remove the line:


and replace with the following:

%TMPL:DEF{"formattop"}%<table width="100%" cellpadding="20px">
<tr><td width="50%" valign="top">%TMPL:P{"form"}%</td>
<td width="50%" valign="top" align="right" style="padding-right:50px;">%TMPL:P{"skills"}%</td></tr>

You should now be able to view the users skills on their profile page!

Related: SkillsAdminIntroduction, SkillsAdvancedSearch, SkillsBrowseAll, SkillsCreateNewCategory, SkillsCreateNewSkill, SkillsDeleteCategory, SkillsDeleteSkill, SkillsEditMySkills, SkillsMoveSkill, SkillsPlugin, SkillsRenameCategory, SkillsRenameSkill, SkillsSearch, PatternSkinUserViewTemplate

Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r0 - 05 Jun 2011 - TWikiContributor

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.SkillsDisplayOnHomePage.