Hello Fabricio,

Try adding vertical-align="middle" to your format-icon class in your CSS. The 
file description issue has been corrected with the following patch 
http://jira.dspace.org/jira/browse/DS-156. The patch is easy to apply in your  
theme XSL. The section of XSL that displays the file description is below...

///////////////////////////////////
<!-- Display the contents of 'Description' as long as at least one bitstream 
contains a description -->

            <xsl:if 
test="$context/mets:fileSec/mets:fileGrp/mets:file/mets:FLocat/@xlink:label != 
''">
                    <xsl:value-of 
select="mets:floc...@loctype='URL']/@xlink:label"/>
            </xsl:if>

//////////////////////////////////// 

Hope this helps.

Steven Williams
Webmaster
Technology Integration Services
University of Texas Libraries
University of Texas at Austin
PCL 1.128G

-----Original Message-----
From: Fabricio Costa [mailto:[email protected]] 
Sent: Tuesday, August 18, 2009 9:17 AM
To: [email protected]
Subject: [Dspace-tech] Organize icons and add file descriptions in browse and 
search results


Hi,

We are using a theme based on Kubrick. It uses sliders to show details about 
the items.

We're trying to show "file format icon + file type description + file size + 
file description) instead of "title + filename.pdf + file size) with no success.

We tried some code tricks, but it doesn't align items. They appear incorrectly. 
The file description doesn't appear too.

The code is here 
(http://aplicacao.tst.jus.br/dspace/themes/Tst_legis/Tst_legis.xsl)

And a sample image is here: 
http://i8.photobucket.com/albums/a23/brizziodf/Rascunho/sample_dspace001.jpg


Any help?




      
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to