Hello everybody,
I want to modify the "Filelist" skin of repository module to show "Author" along with other file details. i have added the [AUTHOR] token in template.html and can now see the name of the uploading user along with the file details. Then i added [LABEL:Author] to the header.html and can now see the word "Author" at the appropriate place. But it was being rendered using CSS class normal as can be seen highlighted in the rendered page-source below:
<TD WIDTH="1" ALIGN="left" VALIGN="top"> </TD>
<TD WIDTH="120" CLASS="normalbold" ALIGN="left" VALIGN="top"><span class="SubHead">Date</span></TD>
<TD WIDTH="16" ALIGN="left" VALIGN="top" style="padding-right:2px;"> </TD>
<TD CLASS="normalbold" ALIGN="left" VALIGN="top"><span class="SubHead">File</span></TD>
<TD WIDTH="150" CLASS="normalbold" ALIGN="left" VALIGN="top"><span class="normal">Author</span></TD>
<TD WIDTH="40" CLASS="normalbold" ALIGN="left" VALIGN="top"><span class="SubHead">Size</span></TD>
<TD WIDTH="80" CLASS="normalbold" ALIGN="left" VALIGN="top"> </TD>
Now, to apply the "SubHead" class i added the following setting in header.xml...
<Object>
<Token>[AUTHOR]</Token>
<Settings>
<Setting>
<Name>CssClass</Name>
<Value>SubHead</Value>
</Setting>
</Settings>
</Object>
But still the "SubHead" class is not being applied, and the rendered page-source contains the following code:
<TD WIDTH="150" CLASS="normalbold" ALIGN="left" VALIGN="top"><span class="normal">Author</span></TD>
Where have i gone wrong or missed a step? Thanks in advance for any inputs.