Personal Info AddOn Custom Data
Admin topic for PersonalInfoAddOn. For usage instructions see
PersonalInfoHome.
This current topic and
PersonalInfoModules work in tandem:
How can I customize a section?
- To replace the default implementation: replace the
%INCLUDE{}%
variable by custom text.
- To add to the custom implementation: leave the
%INCLUDE{}%
variable in place and add text before or after
Customizable sections
Pictures (Developers)
%STARTSECTION{"picturesDevelopers"}%<style type="text/css" media="all">
#pISearchResultsGrid {
margin:1em 0;
}
#pISearchResultsGrid .foswikiImage a img {
border:none;
margin:0 0 .35em 0;
padding:0;
}
#pISearchResultsGrid a.pISearchResultsGridItem {
display:block;
float:left;
text-align:center;
/*border:1px solid #eee;*/
text-decoration:none;
margin:0 .5em 1em 0;
/*padding:3px;*/
overflow:hidden;
width:auto;%IF{"defined gridWidth" then="width:%gridWidth%px;"}%
height:100%;%IF{"defined gridHeight" then="height:%gridHeight%px;"}%
}
#pISearchResultsGrid a.pISearchResultsGridItem img {
overflow:hidden;
width:auto;%IF{"defined imgWidth and '%imgWidth%'!=''" then="width:%imgWidth%px;"}%
}
#pISearchResultsGrid .pISearchResultsGridInfo {
display:block;
font-size:94%;
line-height:100%;
overflow:hidden;
}
#pISearchResultsGrid a:link .pISearchResultsGridInfo,
#pISearchResultsGrid a:visited .pISearchResultsGridInfo {
text-decoration:none;
color:#06c;
}
#pISearchResultsGrid .foswikiImage a:hover span {
/*border:1px solid #06c;*/
text-decoration:underline;
}
#pISearchResultsGrid a:hover .pISearchResultsGridInfo {
text-decoration:none;
color:#06c;
background:none;
}
</style>
<noautolink>
<div id="pISearchResultsGrid">
%SEARCH{
"WouldLikeToCheckIn"
web="Development"
scope="topic"
nonoise="on"
excludetopic="ProjectContributorWouldLikeToCheckInTopicTemplate,WikiTranslationGnomeWouldLikeToCheckIn%IF{'defined exclude' then=',%exclude%'}%"
order="topic"
format="$percntINCLUDE{\"PersonalInfo\"
section=\"picturesDevelopers::format\"
user=\"$createusername\"
title=\"$percntFORMFIELD{\"FirstName\"
topic=\"%USERSWEB%.$createusername\"
}$percnt $percntFORMFIELD{\"LastName\"
topic=\"%USERSWEB%.$createusername\"
}$percnt\"
}$percnt"
}%
%CLEAR%
</div>
</noautolink>%ENDSECTION{"picturesDevelopers"}%
%STARTSECTION{"picturesDevelopers::format"}%<div class='foswikiImage clearfix foswikiLeft'>
<a href='%SCRIPTURL{view}%/%USERSWEB%/%user%' class='pISearchResultsGridItem' id='pISearch%user%' title='%title%'>
%INCLUDE{"PersonalInfoLayoutModules"
section="image"
imgType="nolink"
imgWeb="Development"
imgTopic="%USERSWEB%.%user%"
imgTitle="%title%"
imgWidth="100"
imgHeight="120"
imgName="%FORMFIELD{"Picture"
topic="%USERSWEB%.%user%"
format="$value"
default=""
alttext=""
}%"
}% <span class='pISearchResultsGridInfo'>%title%</span>
</a>
</div>%ENDSECTION{"picturesDevelopers::format"}%
personalInfoFields
%STARTSECTION{"personalInfoFields"}%<table cellspacing='0' cellpadding='0'>
%INCLUDE{"PersonalInfo" section="personalInfoDataRow" fieldName="OrganisationName" label="Organisation"}%
%INCLUDE{"PersonalInfo" section="personalInfoDataRow" fieldName="Profession" label="Profession"}%
%INCLUDE{"PersonalInfo" section="personalInfoDataRow" fieldName="Email" label="Email"}%
%INCLUDE{"PersonalInfo" section="personalInfoDataRow" fieldName="Location" label="Location"}%
%INCLUDE{"PersonalInfo" section="personalInfoDataRow" fieldName="Country" label="Country"}%
</table>%ENDSECTION{"personalInfoFields"}%
personalInfoDataRow
To use a custom implementation: replace INCLUDE variable by custom text
%STARTSECTION{"personalInfoDataRow" fieldName=%FIELDNAME% label=%LABEL%}%%INCLUDE{"PersonalInfoModules" section="personalInfoDataRow"}%%ENDSECTION{"personalInfoDataRow"}%
personalInfoStyle
%STARTSECTION{"personalInfoStyle"}%%INCLUDE{"PersonalInfoModules" section="personalInfoStyle"}%%ENDSECTION{"personalInfoStyle"}%
personalInfo
%STARTSECTION{"personalInfo"}%%INCLUDE{"PersonalInfoModules" section="personalInfo"}%%ENDSECTION{"personalInfo"}%
phoneList
%STARTSECTION{"phoneList"}%%INCLUDE{"PersonalInfoModules" section="phoneList"}%%ENDSECTION{"phoneList"}%
createPhoneListXMLAttachment
%<nop>STARTATTACH{"phoneList.xml"}%%INCLUDE{"%TOPIC%" section="phoneListXML"}%%ENDATTACH%
phoneListXML
%STARTSECTION{"phoneListXML"}%%INCLUDE{"PersonalInfoModules" section="phoneListXML"}%%ENDSECTION{"phoneListXML"}%
personalSearch
%STARTSECTION{"personalSearch"}%%INCLUDE{"PersonalInfoModules" section="personalSearch"}%%ENDSECTION{"personalSearch"}%
vCard
%STARTSECTION{"vCard"}%%INCLUDE{"PersonalInfoModules" section="vCard"}%%ENDSECTION{"vCard"}%
createDirectSearchAttachment
%STARTATTACH{"directSearch.js" comment="<nop>PersonalInfoAddOn cached user data"}%%INCLUDE{"PersonalInfoModules" section="directSearchScriptCode"}%%ENDATTACH%
directSearch
%STARTSECTION{"directSearch"}%%INCLUDE{"PersonalInfoModules" section="directSearch"}%%ENDSECTION{"directSearch"}%
directSearchScript
%STARTSECTION{"directSearchScript"}%%INCLUDE{"PersonalInfoModules" section="directSearchScript"}%%ENDSECTION{"directSearchScript"}%
directSearchScriptFile
%STARTSECTION{"directSearchScriptFile"}%%INCLUDE{"PersonalInfoModules" section="directSearchScriptFile"}%%ENDSECTION{"directSearchScriptFile"}%
directSearchData
%STARTSECTION{"directSearchData"}%%INCLUDE{"PersonalInfoModules" section="directSearchData"}%%ENDSECTION{"directSearchData"}%
tableOfAllUsers
%STARTSECTION{"tableOfAllUsers"}%%INCLUDE{"PersonalInfoModules" section="tableOfAllUsers"}%%ENDSECTION{"tableOfAllUsers"}%
pictures
%STARTSECTION{"pictures"}%%INCLUDE{"PersonalInfoModules" section="pictures"}%%ENDSECTION{"pictures"}%
pictureFilterSearch
%STARTSECTION{"pictureFilterSearch"}%%INCLUDE{"PersonalInfoModules" section="pictureFilterSearch"}%%ENDSECTION{"pictureFilterSearch"}%