On Thu, Oct 3, 2013 at 3:37 PM, Layale Bassil <[email protected]> wrote: > Thanks a lot for your prompt reply. In fact I don’t have enough knowledge in > Dspace, but we are using the "Reference" theme. We did not do any > customization (as far as I know). The problem is the following: I was reading > the "structural.xsl" found under the dri2xhtml folder and learnt that:
Right, I forgot that Reference (based on dri2xhtml) was still the default theme in 1.8. > "This template creates the html document, giving it a head and body. A title > and the CSS style reference > are placed in the html head, while the body is further split into > several divs. The top-level div > directly under html body is called "ds-main". It is further > subdivided into: > "ds-header" - the header div containing title, subtitle, trail > and other front matter > "ds-body" - the div containing all the content of the page; > built from the contents of dri:body > "ds-options" - the div with all the navigation and actions; built > from the contents of dri:options > "ds-footer" - optional footer div, containing misc information" > > What I noticed when I check the source of the collection page that has the > design issue is that the two divs "ds-options" and "ds-footer" are inside the > "ds-body" div and this should not be the case. Those three divs should be at > the same level. This is what is causing the problem. How can I fix this > problem? What file should I edit? Where can I find the " dri:document > template"? Just search for e.g. ds-options in Reference/, dri2xhtml/ and dri2xhtml.xsl. https://github.com/DSpace/DSpace/blob/dspace-1.8.1/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml/structural.xsl#L593 https://github.com/DSpace/DSpace/blob/dspace-1.8.1/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml/structural.xsl#L452 https://github.com/DSpace/DSpace/blob/dspace-1.8.1/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml/structural.xsl#L542 DRI is the input XML document that is transformed by XSLT into HTML. You can see it when you append "/DRI" into your URL like this: http://demo.dspace.org/xmlui/DRI/handle/10673/8 You can't change anything in it (like reorder elements) without changing Java code. However, you can do any transformation necessary in XSLT. > We did not try to upgrade to a newer version 1.8.3, do you recommend it? It's always a good idea to run the latest minor version. But upgrades can be sometimes a significant amount work, so take a look at the list of fixed bugs and see if you need it: https://wiki.duraspace.org/display/DSPACE/DSpace+Release+1.8.2+Notes#DSpaceRelease1.8.2Notes-Changes 1.8.3 only fixes one security issue in JSPUI. But upgrading from 1.8.1 to 1.8.3 is the same procedure as to 1.8.2. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Dspace-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-general
