Re: [Dspace-tech] Customized xmlui

2011-04-13 Thread swebshet
Hi KIm

I want to change item-display (metadata display)for newly added fields.
I just modify some code inside item-view.xsl.it works fine for the newly
added items
But the problem is for the old items which can’t display new fields 
See how a single item viewed in dsapce 1.6.2 and dspace 1.7(mirage).
Can anybody assist me. 

http://dspacetest.cgiar.org/handle/10568/1656
http://mahider.ilri.org/handle/10568/1656

Thanks
sisay


--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Customized-xmlui-tp3328216p3446424.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Customized xmlui

2011-02-28 Thread Jeffrey Trimble
So, I followed our documentation (and I should know, since I've been the 
editor/gardener of it for some time) and can't get my
customized dri2xhtml to work.  The theme is fine, but I customized a little of 
the DRI to get more labels to appear on
the item view page.

I made edit to DIM-Handler.xsl and placed the edited version under:

[dspace-source]/dspace/modules/xmlui/src/main/webapps/themes/dri2xhtml

Compiled it fine, everything looks good.  Brought up tomcat, and no changes.  
Not even an error page.  Cleaned out a cache, etc.

Any comments or suggestions?  

Thanks in advance,

Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
For he is the Kwisatz Haderach...


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Customized xmlui

2011-02-28 Thread Kim Shepherd
Hi Jeff,

I note you use 'webapps' in your XMLUI modules path, but it should be
'webapp'. That's just one quick hint.. (I'm guessing the typo is in your
email rather than in your dspace dirs, but I'm just making sure ;))

Assuming you're using 'webapp', this *should* work fine, unless you're using
1.7 and Mirage. If you're using the Mirage theme, please note that:

- It uses dri2xhtml-alt instead of dri2xhtml (different set of base
templates)
- It actually copies all the templates in dri2xhtml-alt into Mirage/lib/xsl,
rather than overriding specific templates

So in 1.7 Mirage, you need to make your xsl changes in
[dspace]/modules/xmlui/src/main/webapp/themes/Mirage/lib/xsl/...

( if you were trying to edit item display templates, in the past you would
have changed or overridden templates
in  [dspace]/modules/xmlui/src/main/webapp/themes/dri2xhtml/DIM-Handler.xsl,
but in Mirage, you'd change or
override 
[dspace]/modules/xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl
)

Hope at least some of this helps ;)

Can you confirm that your other changes are making it through (added images,
CSS, etc) ?

Cheers,

Kim

On 1 March 2011 05:18, Jeffrey Trimble jatrim...@ysu.edu wrote:

 So, I followed our documentation (and I should know, since I've been the
 editor/gardener of it for some time) and can't get my
 customized dri2xhtml to work.  The theme is fine, but I customized a little
 of the DRI to get more labels to appear on
 the item view page.

 I made edit to DIM-Handler.xsl and placed the edited version under:

 [dspace-source]/dspace/modules/xmlui/src/main/webapps/themes/dri2xhtml

 Compiled it fine, everything looks good.  Brought up tomcat, and no
 changes.  Not even an error page.  Cleaned out a cache, etc.

 Any comments or suggestions?

 Thanks in advance,

 Jeffrey Trimble
 System LIbrarian
 William F.  Maag Library
 Youngstown State University
 330.941.2483 (Office)
 jatrim...@ysu.edu
 http://www.maag.ysu.edu
 http://digital.maag.ysu.edu
 For he is the Kwisatz Haderach...



 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business
 insights. http://p.sf.net/sfu/splunk-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech