Skip to content
alanorth edited this page Dec 10, 2014 · 19 revisions

Welcome

Welcome to the CGSpace wiki! Here I intend to write notes, document procedures, etc.

Contribution guidelines

  • File an issue so we can document and discuss
  • Make a pull request with a fix
  • Coding standards... no white space!

Adding new metadata

Assuming you want to add a new, custom metadata field to DSpace (ie cg.subject.icarda), the procedure is:

  • Add to metadata registry (control panel)
  • Add to browse indexes (dspace.cfg)?
    • webui.browse.index.21 = icardasubject:metadata:cg.subject.icarda:text
  • Add to search indexes (dspace.cfg)? Lucene only! DSpace 3.x!
  • Add to search filters in discovery.xml
  • Add to sidebar facets in discovery.xml
  • Add strings to messages.xml
    • xmlui.ArtifactBrowser.ConfigurableBrowse.icardasubject.column_heading
    • xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.icardasubject
    • xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.icardasubject
    • xmlui.ArtifactBrowser.Navigation.browse_icardasubject
    • xmlui.ArtifactBrowser.SimpleSearch.filter.icardasubject? Only if we want to be able to search from Advanced Search, aka /discover...
  • Add to Atmire CUA or Listings and Reports?
    • dspace/config/modules/atmire-listings-and-reports.cfg
    • dspace/config/modules/atmire-cua.cfg

Adding a new XMLUI theme

Clone this wiki locally