Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Change

...

the

...

fields

...

listed

...

in

...

your

...

DSpace

...

Browse

...

By

...

options

{:= } {toc:minLevel=2}\\ {info} h2.
Info
title
In
this section
you
will
learn
you
to
add
or
remove
options
listed
in
the
Browse
By
menu. 
You
will
need
to
edit
the
files
dspace.cfg
and
message.xml
then
reindex
and
restart
DSpace
Table of Contents
minLevel2


Add/Remove

...

Browse

...

fields

...

in

...

dpsace.cfg

...

Open

...

dspace.cfg

...

and

...

find

...

the

...

heading

...

"######

...

Browse

...

Configuration

...

######"

...

  Scrolling

...

down

...

you

...

will

...

see

...

uncommented

...

lines

...

that

...

read

...

"

...

webui.browse.index..."

...

this

...

is

...

where

...

you

...

will

...

edit

...

and

...

add

...

lines.

...

  Image Added

Wiki Markup
The browse functions are written as
"webui.browse.index.# = \[name\]:metadata:\[schema\].\[element\].\[qualifier\]:\[field type\]"

...

  • The

...

  • name

...

  • is

...

  • what

...

  • you

...

  • want

...

  • to

...

  • call

...

  • the

...

  • browse

...

  • field

...

  • you

...

  • are

...

  • creating

...

  • After

...

  • the

...

  • name

...

  • some

...

  • fields

...

  • have

...

  • the

...

  • word

...

  • "item"

...

  • these

...

  • fields

...

  • special

...

  • and

...

  • do

...

  • not

...

  • conform

...

  • to

...

  • the

...

  • same

...

  • syntax

...

  • as

...

  • others,

...

  • for

...

  • the

...

  • field

...

  • you

...

  • are

...

  • adding

...

  • use

...

  • "metadata"

...

  • after

...

  • the

...

  • name.

...

  • Set

...

  • the

...

  • schema,

...

  • element

...

  • and

...

  • qualifier

...

  • to

...

  • the

...

  • field

...

  • you

...

  • want

...

  • to

...

  • browse

...

  • by.

...

  •   Qualifiers

...

  • can

...

  • be

...

  • replaced

...

  • with

...

  • "

...

  • "

...

  • and

...

  • all

...

  • occurrences

...

  • of

...

  • that

...

  • element

...

  • will

...

  • be

...

  • listed

...

  • regardless

...

  • of

...

  • qualifiers,

...

  • for

...

  • example

...

  • "dc.subject.

...

  • "

...

  • lists

...

  • both

...

  • dc.subject

...

  • and

...

  • dc.subject.lcsh.

...

  • For

...

  • field

...

  • type

...

  • select

...

  • "text"

...

  • for

...

  • most

...

  • fields.

...

  •   The

...

  • other

...

  • options

...

  • are

...

  • "date"

...

  • for

...

  • date

...

  • fields

...

  • and

...

  • "title"

...

  • for

...

  • fields

...

  • that

...

  • have

...

  • unique

...

  • entries

...

  • only

...

  • allowing

...

  • the

...

  • browse

...

  • items

...

  • to

...

  • link

...

  • to

...

  • a

...

  • single

...

  • item.

...

  • The

...

  • order

...

  • these

...

  • items

...

  • are

...

  • listed

...

  • in

...

  • is

...

  • the

...

  • order

...

  • they

...

  • will

...

  • appear

...

  • in

...

  • the

...

  • browse

...

  • navigation

...

  • pane.

...

Remove

...

any

...

browse

...

fields

...

you

...

do

...

not

...

want

...

and

...

add

...

lines

...

for

...

additional

...

browse

...

fields.

...

  In

...

this

...

example

...

I

...

I

...

have

...

added

...

the

...

field

...

dc.subject.classification

...

with

...

the

...

name

...

"department"

...

and

...

field

...

type

...

text

...

as

...

well

...

as

...

date

...

created

...

with

...

the

...

name

...

"datecreated"

...

and

...

the

...

field

...

type

...

date.
Image Added

Add Headings to message.xml

Open message.xml and find the heading <!- org.dspace.app.xmlui.artifactbrowser.ConfigureableBrowse.java

...

-

...

>.

...

  You

...

need

...

to

...

add

...

four

...

lines

...

for

...

each

...

new

...

browse

...

category

...

in

...

this

...

section.

...

If

...

you

...

look

...

through

...

the

...

section

...

you

...

will

...

see

...

the

...

same

...

lines

...

for

...

the

...

preexisting

...

browse

...

categories

...

scattered

...

through

...

the

...

text.

...

Wiki Markup
First add "<message key="xmlui.ArtifactBrowser.ConfigurableBrowse.\[name\].column_heading">\[Browse Name\]</message>" Where \[name\] is the name you assigned in dspace.cfg and \[Browse Name\] is the title you want to appear in browse menu in DSpace.&nbsp; These fields are the text displayed at the top of a browse list. \!Screen shot 2012-03-26 at 11.26.06 AM.png\|border=1\!

Wiki Markup
Then add the lines "<message key="xmlui.ArtifactBrowser.ConfigurableBrowse.title.metadata.\[name\]">Browsing 

...

\|0

...

\| by \[Browse Field\] 

...

\|1\|</message>" and "<message key="xmlui.ArtifactBrowser.ConfigurableBrowse.trail.metadata.\[name\]">Browsing 

...

\|0

...

\| by \[Browse Field\] </message>.

...

&nbsp; Where \[name\] is the name you assigned in dspace.cfg and \[Browse Field\] is the field you are browsing by.

...

&nbsp; These fields create the different browse page headings.

...

Image Added
You will also need to add a line to artifactbrowser.Navigation.java

...

section.

...

  Find

...

the

...

heading

...

<

...

!

...

-

...

org.dspace.app.xmlui.artifactbrowser.Navigation.java

...

->

...

and

...

you

...

will

...

see

...

fields

...

for

...

the

...

existing

...

browse

...

options.

...

Wiki Markup
Add the line <message key="xmlui.ArtifactBrowser.Navigation.browse_\[name\]">\[Browse Field\]</message>. Where \[name\] is the name you assigned in dspace.cfg and \[Browse Field\] is the field you are browsing by. These lines are the text displayed in the browse navigation bar.

...

Image Added

Panel

{_}This

...

section

...

was

...

contributed

...

by

...

Catalina

...

Oyler

...

from

...

the

...

Five

...

Colleges

...

of

...

Ohio

...