MOSS Custom search results page- add rank chart

יום שלישי, ספטמבר 4, 2007

  With simple XSLT template you can add small chart that displays the rank for each item in the Search Core Results Web Part. You may find it useful especially when you sort by modified date. Add the following template to the XSLT: <!-- The rank chart disply for each result is prepared here --> <xsl:template name="DisplayRank">               <xsl:param name="rank" />             <table cellpadding="0" height="8" cellspacing="4" align="right" width="150">                   <tr>                         <td align="left">                               <table width="50px;" height="8"  cellpadding="0" cellspacing="0" style="border: 1px solid #000000;" align="left">                                     <tr>                                           <td>                                                 <table cellpadding="0" cellspacing="0" height="8" style="border: 0px solid #000000;">                                                       <xsl:attribute name="width">                                                             <xsl:value-of select="$rank div 10"/>&#37;                                                       </xsl:attribute>                                                       <tr >                                                             <td style="background-color:#E4E4E4;">&#160;</td>                                                       </tr>                                                 </table>                                          ...
3 תגובות

Three CodePlex projects for community WCM code samples

יום רביעי, יוני 20, 2007

Spencer Harbar & Andrew Connell announce three new CodePlex projects created to enable the community to share examples of useful Publishing site elements built using the Web Content Management features of Office SharePoint Server 2007. Initially these projects contain a number of commonly used MCMS 2002 Placeholder controls converted for use within MOSS Publishing sites which have been graciously donated by Microsoft. Over time these samples will be augmented and enhanced. Future plans include the consolidation and alignment of deployment mechanisms of all code samples in all projects. All the CodePlex projects listed below are released under the most permissive...
אין תגובות