cancel
Showing results for 
Search instead for 
Did you mean: 

Document Library text Display

dannyb
Champ in-the-making
Champ in-the-making
Hi, wondering if anyone could help with the following;

1. In document library be able to display 'Document Title' before 'Filename'
2. Modify the displayed text size of the 'filename'. so make it smaller

Thanks heaps for any assistance provided.
1 REPLY 1

mikeh
Star Contributor
Star Contributor
#1 isn't easy until the next release of Community (see https://forums.alfresco.com/en/viewtopic.php?p=127636#p127636) as you'll have to override some code in the documentlibrary.js core file.

#2 should be ok - create a new css file that changes the font size (use Firebug or Web Inspector to get the css selector). Configure that css file to be loaded using the DocLibCustom config section:
<!– Document Library Custom Code config section –>
<config evaluator="string-compare" condition="DocLibCustom">
   <!–
      Custom Code dependencies.

      Note: files specified in the "src" attribute resolve relative to the /share/res/ servlet context.
      <dependencies>
         <css src="my-custom-action.css" />
         <js src="my-custom-action.js" />
      </dependencies>
   –>
   <dependencies />
</config>
Thanks,
Mike