Hm.  In 1.6 code, the browse div comes after the search form (both enclosed in 
an outer div), so you should be able to arrange them with CSS.  Maybe try a 
float left?  (That may not work since the next div up doesn't have a position 
set.)

B--

From: Jose Blanco [mailto:[email protected]]
Sent: Tuesday, December 18, 2012 11:51 AM
To: Brian Freels-Stendel
Cc: Dspace-Tech
Subject: Re: [Dspace-tech] changing browse display

OK, I got that going.  My next issue is reversing the order - having the search 
box come up before the browse list.  Any clues?
On Tue, Dec 18, 2012 at 10:50 AM, Brian Freels-Stendel 
<[email protected]<mailto:[email protected]>> wrote:
Good morning,

I'd probably go the easy route and use CSS.  In DSpace 1.6, the selector looks 
like:

div#aspect_artifactbrowser_CommunityViewer_div_community-browse h3.ds-head, 
div#aspect_artifactbrowser_CollectionViewer_div_collection-browse h3.ds-head

for the Community and Collection browse box.

B--

From: Jose Blanco [mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, December 18, 2012 8:28 AM
To: Dspace-Tech
Subject: [Dspace-tech] changing browse display

I'm trying to make the collection/community browse display look like this:

<strong>Browse by:</strong> Title Author Subject Date

I almost have it, but I can't see how to make the "Browse by;" bold and indent 
it to the left.

I added these 5 things into a List  in CollectionViewer:

        browse.addContent("Browse by:");

AND this for the browse types

            browse.addItemXref(super.generateURL(url + "/browse", queryParams),
                       message("xmlui.ArtifactBrowser.Navigation.browse_" + 
bix.getName()));

how do I add a class to "browse.addContent("Browse by:");", so that I can later 
make changes to in the style sheet.

Many thanks!
Jose

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to