On Tue, Aug 21, 2012 at 11:04 AM, Kariuki, Mark (FAOSO)
<[email protected]> wrote:
> Thanks for the swift reply, however, I placed that snippet in my theme's xsl 
> but the search box still appeared. I have not setup Discovery as yet, I don’t 
> know if this could be the issue, what I meant is that I wanted it completely 
> gone, so that the only search form is the one on the right hand panel.

Discovery shouldn't make a difference in this case. Please, try
clearing the Cocoon cache and report back if it still hasn't appeared
[1].

> 1. This is the search box that appears throughout the DSpace hierarchy that I 
> wanted to hide, I tried searching through the install for the i18n message 
> text, so that I can find where it is referenced in an XSL file, but it isn’t 
> referenced anywhere else apart from messages.xml

Yes, that's the searchbox that should be hidden by the code I sent you.

You didn't find any reference because messages are referenced by their
"key" in the XSL, e.g.:
<message key="xmlui.dri2xhtml.structural.login">Login</message>

> 2. This is the Browse By section that appears in the collections, I would 
> want to remove that also or atleast move it to the right panel as well, the 
> main idea being that I want the items in the repository to appear first, have 
> more emphasis.

It already is in the menu, both for DSpace as a whole and for the
current community/collection.

To remove it from body (just like search), use this:
<xsl:template name="disable_front-page-browse"
match="dri:list[@id='aspect.artifactbrowser.CollectionViewer.list.collection-browse']">
</xsl:template>

> 3. This is the news segment that I would want to move also.

I'm not sure what your news section is, I don't think it's in Mirage
by default. It's probably something you added. Just move it into the
template processing dri:options.

[1] 
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon%28XMLUI%29cache

Regards,
~~helix84

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to