Skip to content
alanorth edited this page Dec 12, 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 filters in discovery.xml
  • Add to sidebar facets in discovery.xml
  • Add strings to messages.xml:
    • xmlui.ArtifactBrowser.AdvancedSearch.type_icardasubject -> sidebar facet title!
    • xmlui.ArtifactBrowser.ConfigurableBrowse.icardasubject.column_heading -> Browse sidebar column heading
    • xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.icardasubject -> Shown in Browse results
    • xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.icardasubject -> Show in Browse results
    • xmlui.ArtifactBrowser.Navigation.browse_icardasubject -> Text in Browse sidebar
    • xmlui.ArtifactBrowser.SimpleSearch.filter.icardasubject? -> "Advanced Search", aka /discover search page
    • xmlui.reporting-suite.statistics.graph-editor.data-source.dataset.option.icardasubject
    • xmlui.reporting-suite.statistics.contentanalysis.icardasubject
  • 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