Default Folder and File Display
The default display for folders and files are defined by two wiki text templates, the outer template and the contents template. For example for folders the outer template is defined by the folder.default.txt template. The outer template defines the overall layout of the page, e.g. inner contents in the main part of the page and properties, maps, etc, on the right hand side of the page. The inner contents is defined by the folder.content.txt. The default inner contents is the wiki text:
{{description suffix="<p>"}}
{{tabletree message="" orderby="entryorder_up,name_up" maxHeight=80vh}}
For generic file entries the display is defined with the templates - file.default.txt and file.content.txt.

You can overwrite these templates with the following properties. The %repositorydir% is your RAMADDA home directory.
ramadda.wikitemplate.default.folder=%repositorydir%/folder.default.txt
ramadda.wikitemplate.content.folder=%repositorydir%/folder.content.txt

ramadda.wikitemplate.content.file=%repositorydir%/file.content.txt
ramadda.wikitemplate.default.file=%repositorydir%/file.default.txt
For example, if you wanted a different sort order for all Folder entries you could create a file myfolder.txt with
{{description}}
{{tabletree message="" orderby="folder_up,entryorder_up,name_up" maxHeight=80vh}}
And then set the property:
ramadda.wikitemplate.content.folder=%repositorydir%/myfolder.txt
Note: for the case of specifying a default sort order for the entire repository see the documentation on sort order.
Overriding displays
You can also override the default display of any entry type with the following property:
ramadda.wikitemplate.default.<type>=/path/to/wiki/template    
For example, if you wanted change how PDF file entries are displayed you could specify the property:
ramadda.wikitemplate.default.type_document_pdf=%repositorydir%/mypdf.html
And then create the mypdf.html file in your RAMADDA home directory. The file is just the wiki text that displays the PDF. For example, you can view the default wiki text in the types.xml plugin file on Github. Look for the <wiki> tag definition for the PDF entry type.
Entry Icons
There are two ways to override the icon that is displayed for an entry. The first way is to add an "Entry Icon" property to the entry and upload an icon file.

The second way is some entries can map an attribute value to a property which specifies the icon. This requires administrative access to the server. The property that defines the icon is of the form:
icon.<entry type id>.<lower case attribute value>=/path/to/icon
For example, the Geo Project has a Project Type property. The value of the Project Type is used to look up a property (set in a repository.properties file on the server). So, if the Project Type was "Mine" then the following property can be set where /icons/mine.png is in the htdocs directory in the RAMADDA home directory.
icon.type_geo_project.mine=/icons/mine.png
If the attribute value has spaces, etc, then it is normalized. For example, if the attribute value was "Some Mine" then the property would be:
icon.type_geo_project.some_mine=/icons/mine.png