Mirage Theme of DSpace looks nice. Many people try to enable this theme. I am mentioning here the process of enabling Mirage theme and DSpace Discovery.
go /home/dspace/config/xmlui.xconf
comment Default Reference Theme and uncomment Atmire Mirage Theme
<themes>
<!– Example configuration –>
<!– <theme name=”Test Theme 1″ handle=”123456789/1″ path=”theme1/”/> –>
<!– <theme name=”Test Theme 2″ regex=”community-list” path=”theme2/”/> –>
<!– Default theme –>
<theme name=”Default Reference Theme” regex=”.*” path=”Reference/” />
<!– Mirage theme, @mire contribution of new theme to support easier development and branding –>
<!– <theme name=”Atmire Mirage Theme” regex=”.*” path=”Mirage/” /> –>
<!– Classic theme, inspired by the JSP UI –>
<!– <theme name=”Classic” regex=”.*” path=”Classic/” /> –>
<!– Table based browse display –>
<!– <theme name=”Table Theme” regex=”.*” path=”TableTheme/” /> –>
</themes>
</xmlui>
Then go aspect section
<aspects>
<!–
@deprecated: the Artifact Browser has been devided into ViewArtifacts,
BrowseArtifacts, SearchArtifacts
ArtifactBrowser/” />
–>
ViewArtifacts/” />
BrowseArtifacts/” />
SearchArtifacts/” />
<aspect name=”Administration” path=”resource://aspects/Administrative/” />
EPerson/” />
<aspect name=”Submission and Workflow” path=”resource://aspects/Submission/” />
<aspect name=”Statistics” path=”resource://aspects/Statistics/” />
<aspect name=”Original Workflow” path=”resource://aspects/Workflow/” />
<!–<aspect name="XMLWorkflow” path=”resource://aspects/XMLWorkflow/” />–>
<!–
<!–
To enable Discovery, uncomment this Aspect that will enable it
within your existing XMLUI
Also make sure to comment the SearchArtifacts aspect
as leaving it on together with discovery will cause UI overlap issues
<aspect name=”Discovery” path=”resource://aspects/Discovery/” />
comment Searching Artifacts and uncomment Discovery
And edit /home/dspace/config/dspace.cfg in Event System Configuration section
### Event System Configuration ####
# default synchronous dispatcher (same behavior as traditional DSpace)
event.dispatcher.default.class = org.dspace.event.BasicDispatcher
#
# uncomment below and comment out original property to enable discovery indexing
# event.dispatcher.default.consumers = search, browse, discovery, eperson, harvester
#
event.dispatcher.default.consumers = search, browse, eperson, harvester
add discovery above line
Then find
#### Additional configuration for Recent Submissions code ####
# the sort option name (from webui.itemlist.sort-option above) to use for
# displaying recent submissions. (this
# is used by the Recent Submissions system and any other time based
# browse query such as FeedServlet)
#
recent.submissions.sort-option = dateaccessioned
# how many recent submissions should be displayed at any one time
recent.submissions.count = 5
and change value 5 with 0
Ensure solr search port and tomcat port are same
/home/dspace/config/modules/discovery.cfg
#—————————————————————#
#—————–DISCOVERY CONFIGURATIONS———————-#
#—————————————————————#
# Configuration properties used solely by the Discovery #
# faceted-search system. #
#—————————————————————#
##### Search Indexing #####
search.server = http://localhost:8080/solr/search
Finally run the command to enable DSpace Discovery
bin/dspace update-discovery-index