Hi, George, I replied off list last night, but I am replying publicly this morning, to say, yes, please, we are using Mirage2 and would love to see sample code, especially working sample code. Thanks!
--Hardy Sent from my iPad On Nov 19, 2015, at 3:50 PM, George Kozak <[email protected]<mailto:[email protected]>> wrote: Hardy: At Cornell, we are using a modified version of the Mirage2 theme. We disabled the facets from the home page in theme.xsl, but then we needed to go page-structure.xsl to remove the sidebars, as well. If you are using the Mirage2 theme, I could send you our XSL files to look at to see what we did. George Kozak Cornell University On Thu, Nov 19, 2015 at 12:44 PM, Pottinger, Hardy J. <[email protected]<mailto:[email protected]>> wrote: Hi, thanks, I've tried removing those lines from the homepageConfiguration, it does indeed remove the facets from the home page. However, it also removes all facets from everything. Which is not my intention. I've also tried something more elaborate: continue as described above, with the "site" using the "homepage" config (no facets), and then set all top level communities to the default config (facets, please). This also hides facets everywhere except on the top level community home pages. I suspect what I'll have to do is modify the Java, or possibly my theme's xslt, to conditionally not show facets on the home page. This is a bit more work than I anticipated, so I'm putting it off for now, to focus on other things. If anyone on this mail list has successfully hidden pre-search facets, while allowing post-search facets, please let me know. Thanks! --Hardy ________________________________ From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of Mariangels [[email protected]<mailto:[email protected]>] Sent: Thursday, November 19, 2015 6:13 AM To: DSpace Technical Support Cc: [email protected]<mailto:[email protected]> Subject: Re: [dspace-tech] Re: Facets and DSpace 5.3 Hola Hardy, I'm sorry for my late reply. Finally I could hide the facets in homepage editing the file discovery.xml and commeting out some lines. I have this file here /usr/local/dspace-source/dspace/target/dspace-installer/config/spring/api I have now this inside discovery.xml: <!--The Homepage specific configuration settings for discovery--> <bean id="homepageConfiguration" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype"> <!--Which sidebar facets are to be displayed (same as defaultConfiguration above)--> <property name="sidebarFacets"> <list> <!-- <ref bean="searchFilterAuthor" /> <ref bean="searchFilterContributor" /> <ref bean="searchFilterSubject" /> <ref bean="searchFilterIssued" /> <ref bean="searchFilterType" /> <ref bean="searchFilterLanguage" /> --> </list> </property> After do these changes I did this: 1. Compile 2. dspace/bin/dspace index-discovery –b I hope this information will help you! Good luck!!! [https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif] El dimarts, 17 novembre de 2015 23:29:20 UTC+1, Hardy Pottinger va escriure: Hi, sorry to revive an old thread, but I suspect the configuration referenced below is specific to JSPUI: plugin.sequence.org.dspace.plugin.CommunityHomeProcessor So, I'm wondering if you ever found a solution? I'm trying to turn off pre-search facets, and not having any luck. I've tried the configuration mentioned below. I have also tried commenting out these lines: https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L203-L205 Neither of which disables sidebar facets on the home page. I'm using XMLUI. --Hardy ________________________________ From: [email protected]<http://UrlBlockedError.aspx> [[email protected]<http://UrlBlockedError.aspx>] on behalf of Mariangels [[email protected]<http://UrlBlockedError.aspx>] Sent: Monday, September 28, 2015 6:01 AM To: DSpace Technical Support Subject: [dspace-tech] Re: Facets and DSpace 5.3 Thank you very much Humberto. I will try your solution. El dilluns, 21 setembre de 2015 16:28:03 UTC+2, Humberto Blanco Castillo va escriure: Hi Mariangels, You can hide facets comment in the dspace.cfg file (text in red color) remember restart tomcat after changing this file. #### Sidebar Facets #### # to show facets on the site home page, community, collection comment out the following lines if you disable Discovery or don't want to show facets on side bars plugin.sequence.org.dspace.plugin.CommunityHomeProcessor = \ org.dspace.app.webui.components.RecentCommunitySubmissions,\ org.dspace.app.webui.discovery.SideBarFacetProcessor plugin.sequence.org.dspace.plugin.CollectionHomeProcessor = \ org.dspace.app.webui.components.CollectionItemList,\ org.dspace.app.webui.discovery.SideBarFacetProcessor # org.dspace.app.webui.components.RecentCollectionSubmissions,\ plugin.sequence.org.dspace.plugin.SiteHomeProcessor = \ org.dspace.app.webui.components.TopCommunitiesSiteProcessor,\ org.dspace.app.webui.components.RecentSiteSubmissions,\ # org.dspace.app.webui.discovery.SideBarFacetProcessor El viernes, 18 de septiembre de 2015, 4:34:14 (UTC-5), Mariangels escribió: Hello, Recentlly we are working with DSpace 5.3. We need to hide the facets at home page and at item-viem page. Can you help me how to do this in DSpace 5.3? In DSpace 1.7.2 we could do with this configuration: solr.facets.item=dc.contributor.author,dc.contributor,dc.subject.other,dc.date.created_dt,dc.type,dc.language.iso Thank you very much in advance. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<http://UrlBlockedError.aspx>. To post to this group, send email to [email protected]<http://UrlBlockedError.aspx>. Visit this group at http://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. Visit this group at http://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. Visit this group at http://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout. -- *************************** George Kozak Digital Library Specialist Cornell University Library - IT 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 [email protected]<mailto:[email protected]> -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. Visit this group at http://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
