diff --git a/build.properties b/build.properties index 65b62a5178460c010d3fdc270e15d460f21ccc6f..382044af1d89b14da34a50683bd84356a6749270 100644 --- a/build.properties +++ b/build.properties @@ -34,7 +34,7 @@ dspace.baseUrl = dspacesnj.c3sl.ufpr.br dspace.name = DSpace Estacao Juventude # Solr server -solr.server=http://localhost:8080/solr +solr.server=http://localhost/solr # Default language for metadata values default.language = pt_BR diff --git a/dspace/config/dspace.cfg b/dspace/config/dspace.cfg index 29a60adcc4d32f8a98fb43d301354926c65fb74e..55b857cc055666a71cb5dca87b9fe2262a9f99cc 100644 --- a/dspace/config/dspace.cfg +++ b/dspace/config/dspace.cfg @@ -639,7 +639,8 @@ event.dispatcher.default.class = org.dspace.event.BasicDispatcher # uncomment below and comment out original property to enable discovery indexing # event.dispatcher.default.consumers = versioning, search, browse, discovery, eperson, harvester # -event.dispatcher.default.consumers = versioning, search, browse, eperson, harvester +# event.dispatcher.default.consumers = versioning, search, browse, eperson, harvester +event.dispatcher.default.consumers = versioning, search, browse, discovery, eperson, harvester # The noindex dispatcher will not create search or browse indexes (useful for batch item imports) event.dispatcher.noindex.class = org.dspace.event.BasicDispatcher @@ -1096,7 +1097,8 @@ webui.browse.link.1 = author:dc.contributor.* recent.submissions.sort-option = dateaccessioned # how many recent submissions should be displayed at any one time -recent.submissions.count = 5 +# recent.submissions.count = 5 +recent.submissions.count = 0 # tell the community and collection pages that we are using the Recent # Submissions code diff --git a/dspace/config/xmlui.xconf b/dspace/config/xmlui.xconf index 6222a26fd2fd8e8debf2272a7f438756034c5edc..9cb8a1b7afa271e55fa4fa15c29b48c7f2075a1f 100644 --- a/dspace/config/xmlui.xconf +++ b/dspace/config/xmlui.xconf @@ -82,7 +82,7 @@ <!-- Base DSpace XMLUI Aspects for Display, Browse, Search, Admin, Login and Submission --> <aspect name="Displaying Artifacts" path="resource://aspects/ViewArtifacts/" /> <aspect name="Browsing Artifacts" path="resource://aspects/BrowseArtifacts/" /> - <aspect name="Searching Artifacts" path="resource://aspects/SearchArtifacts/" /> +<!-- <aspect name="Searching Artifacts" path="resource://aspects/SearchArtifacts/" /> --> <!--usando Discovery --> <aspect name="Administration" path="resource://aspects/Administrative/" /> <aspect name="E-Person" path="resource://aspects/EPerson/" /> <aspect name="Submission and Workflow" path="resource://aspects/Submission/" /> @@ -122,7 +122,7 @@ (in the "Basic Features/Aspects" group) as leaving it on together with Discovery will cause UI overlap issues --> - <!-- <aspect name="Discovery" path="resource://aspects/Discovery/" /> --> + <aspect name="Discovery" path="resource://aspects/Discovery/" /> <!-- ============== SWORDv1 Client diff --git a/dspace/modules/xmlui/src/main/webapp/themes/Participatorio/lib/xsl/core/page-structure.xsl b/dspace/modules/xmlui/src/main/webapp/themes/Participatorio/lib/xsl/core/page-structure.xsl index 87e56f08c60e106fd80b53240ac0b3789aaa43da..4640834e03a420a05281a6c6599601e04b776b76 100644 --- a/dspace/modules/xmlui/src/main/webapp/themes/Participatorio/lib/xsl/core/page-structure.xsl +++ b/dspace/modules/xmlui/src/main/webapp/themes/Participatorio/lib/xsl/core/page-structure.xsl @@ -653,6 +653,17 @@ <p><i18n:text>xmlui.structure.AboutRepositoryText</i18n:text></p> </div> </xsl:when> + +<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> +<!-- <xsl:when test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']='faq'"> --> + <xsl:when test="starts-with($request-uri, 'page/teste')"> + <!-- bds: homepage-body.xhtml contains <div id="homepage-body">...</div> --> + <!-- <xsl:copy-of select="document('../../static/homepage-body.xhtml')"/> --> + <xsl:call-template name="staticHomePage"/> +<!-- <xsl:copy-of select="document('static/teste.xhtml')"/> --> + </xsl:when> +<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <!-- Otherwise use default handling of body --> <xsl:otherwise> <xsl:apply-templates /> @@ -794,4 +805,130 @@ </xsl:if> </xsl:template> + + + + + <!--Constrói a HomePage --> + <xsl:template name="staticHomePage"> + <div id="homepage-body"> +<!-- Search --> + <h1 class="ds-div-head"> + <i18n:text>xmlui.structure.AboutRepositoryTitle</i18n:text> + </h1> + <form xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="aspect_discovery_SiteViewer_div_front-page-search" class="ds-interactive-div primary" + action="/xmlui/discover" method="get" onsubmit="javascript:tSubmit(this);"> + <p class="ds-paragraph"> + <i18n:text>xmlui.ArtifactBrowser.FrontPageSearch.para1</i18n:text> + </p> + <p xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + class="ds-paragraph"> + <input id="aspect_discovery_SiteViewer_field_query" class="ds-text-field" + name="query" value="" type="text" /> + + <input xmlns:i18n="http://apache.org/cocoon/i18n/2.1" id="aspect_discovery_SiteViewer_field_submit" + class="ds-button-field" name="submit" i18n:attr="value" value="xmlui.general.go" + type="submit" /> + + </p> + </form> + +<!-- Community Browser --> + <h1 xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + class="ds-div-head"> + <i18n:text>xmlui.ArtifactBrowser.CommunityBrowser.head</i18n:text> + </h1> + <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="aspect_artifactbrowser_CommunityBrowser_div_comunity-browser" + class="ds-static-div primary"> + <p class="ds-paragraph"><i18n:text>xmlui.ArtifactBrowser.CommunityBrowser.select</i18n:text></p> + <ul xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + xmlns:oreatom="http://www.openarchives.org/ore/atom/" xmlns:ore="http://www.openarchives.org/ore/terms/" + xmlns:atom="http://www.w3.org/2005/Atom"> + <!-- External Metadata URL: cocoon://metadata/handle/123456789/13/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> + <li class="ds-artifact-item community odd"> + <div class="artifact-description"> + <div class="artifact-title"> + <a href="/xmlui/handle/123456789/13"> + <span class="Z3988">Acervo Geral (AG)</span> + </a> + </div> + </div> + </li> + <!-- External Metadata URL: cocoon://metadata/handle/123456789/11/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> + <li class="ds-artifact-item community even"> + <div class="artifact-description"> + <div class="artifact-title"> + <a href="/xmlui/handle/123456789/11"> + <span class="Z3988">Conselho Nacional de Juventude (CONJUVE) + </span> + </a> + </div> + </div> + </li> + <!-- External Metadata URL: cocoon://metadata/handle/123456789/12/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> + <li class="ds-artifact-item community odd"> + <div class="artifact-description"> + <div class="artifact-title"> + <a href="/xmlui/handle/123456789/12"> + <span class="Z3988">Organização Ibero-Americana de Juventude (OIJ) + </span> + </a> + </div> + </div> + </li> + <!-- External Metadata URL: cocoon://metadata/handle/123456789/8/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> + <li class="ds-artifact-item community even"> + <div class="artifact-description"> + <div class="artifact-title"> + <a href="/xmlui/handle/123456789/8"> + <span class="Z3988">Secretaria Nacional de Juventude (SNJ)</span> + </a> + </div> + <div class="artifact-info"> + <span class="short-description">Comunidade da Secretaria Nacional de Juventude + (SNJ) + </span> + </div> + </div> + </li> + </ul> + </div> + +<!-- News.xml --> + <h1 class="ds-div-head"> + <i18n:text>participatorio.repo.title</i18n:text> + </h1> + <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="file_news_div_news" class="ds-static-div primary"> + <p class="ds-paragraph"> + <i18n:text>participatorio.repo.text</i18n:text> + </p> + </div> + <h1 xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + class="ds-div-head"> + <i18n:text>participatorio.repo.titleMissao</i18n:text> + </h1> + <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="file_news_div_news" class="ds-static-div primary"> + <p class="ds-paragraph"> + <i18n:text>participatorio.repo.textMissao</i18n:text> + </p> + </div> + <h1 xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + class="ds-div-head"> + <i18n:text>participatorio.repo.titleObjetivo</i18n:text> + </h1> + <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="file_news_div_news" class="ds-static-div primary"> + <p class="ds-paragraph"> + <i18n:text>participatorio.repo.textObjetivo</i18n:text> + </p> + </div> + + </div> + + </xsl:template> + </xsl:stylesheet>