Re: [Dspace-tech] item display page in XMLUI

2010-07-13 Thread Kim Shepherd
Hi Hardik,

It depends exactly what you want to do.. most layout/presentation
changes in XMLUI can be made purely with CSS and templates.
Templates are defined in XSL stylesheets in
[dspace]/webapps/xmlui/themes/dri2xtml.
If you want to alter the appearance of item metadata display, the file
you want to have a look at is DIM-Handler.xsl. You can override
templates from here (like itemSummaryView-DIM and
itemDetailView-DIM) in your own theme's XSL.

Here's a small example on the DSpace wiki explaining how to render
line breaks in item abstracts:
https://wiki.duraspace.org/display/DSPACE/Rendering+line+breaks+in+item+metadata+(Manakin)

If you need to do a more complicated task like including new forms on
the item pages or any kind of business logic, you'll need to take a
look at the ArtifactBrowser aspect
(org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer specifically).

You might also find the Manakin Developer's Guide useful:
http://drcdev.ohiolink.edu/handle/123456789/28

Hope this helps!

Cheers,

Kim

ps. a lot of pages in the manakinhowto category in the DSpace wiki
have lost their proper formatting when the wiki was migrated to
Confluence.. I'll try and fix up the  and  tags in the next few days

On 8 July 2010 18:07, Hardik Mishra har...@webinito.com wrote:
 Hello Everyone,

 I have some working experience on JSPUI.

 Now, I want to test some code on XMLUI.

 Can anyone pass some information that where should i change , if i would
 like to add some functionality in item display page(XMLUI).

 If we want to change anything in item display page, we can use jsptag in
 JSPUI to add functionality but for XMLUI i need some help.

 Thanks   Regards
 Hardik Mishra
 Software Engineer

 Give a man a fish, and you feed him for a day. Teach a man to catch fish and
 you feed him for a lifetime.

 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] item display page in XMLUI

2010-07-08 Thread Hardik Mishra
Hello Everyone,

I have some working experience on JSPUI.

Now, I want to test some code on XMLUI.

Can anyone pass some information that where should i change , if i would
like to add some functionality in item display page(XMLUI).

If we want to change anything in item display page, we can use jsptag in
JSPUI to add functionality but for XMLUI i need some help.

Thanks   Regards
Hardik Mishra
Software Engineer

Give a man a fish, and you feed him for a day. Teach a man to catch fish and
you feed him for a lifetime.
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech