[Dspace-tech] Reg: XSL wrapping of referenceSet along with tags
Hello, Please find the dspace details: Version : 1.8.2 Theme : Mirage Discovery: disabled May i please ask for some help regarding : wrapping the community browser division along with html tags and referenceSet tags. I have tried to wrap the variable by selecting its id, in pagestructure.xsl : xsl:variable name=community-browser-menu select=/dri:document/dri:body/dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser'][@rend='primary'][@n='comunity-browser']/ and render it on navigation.xsl xsl:copy-of select=$community-browser-menu / However, all that i see is the heading and paragraph without formatting. May I know, if it is possible to wrap the whole division as it is with its tags, and render the same in other template. If yes, may i know how do i do it. I would really appreciate it, if someone could help me with the above difficulty. Thanks Lohit -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Reg: XSL wrapping of referenceSet along with tags
Hello all, As a continuation to the previous mail. I have realized that, the variable rendering is indeed happening, where all the referenceSets from the community browser division are copied. However, they are not being rendered into li and ul For the body : referenceSets get transformed to lists ( li ) and ul, with the help of an xsl - which converts it from DRI to html. I am finding it difficult to find, which xsl converts the referenceSets to lists. In the way, i can apply the same rendering to the referenceSets that i have copied within the variable. May i please request - if any of you know, which xsl is rendering the referenceSets inside body? Thank you Lohit On Thu, Jan 31, 2013 at 4:21 PM, Lohit Valleru lohi...@gmail.com wrote: Hello, Please find the dspace details: Version : 1.8.2 Theme : Mirage Discovery: disabled May i please ask for some help regarding : wrapping the community browser division along with html tags and referenceSet tags. I have tried to wrap the variable by selecting its id, in pagestructure.xsl : xsl:variable name=community-browser-menu select=/dri:document/dri:body/dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser'][@rend='primary'][@n='comunity-browser']/ and render it on navigation.xsl xsl:copy-of select=$community-browser-menu / However, all that i see is the heading and paragraph without formatting. May I know, if it is possible to wrap the whole division as it is with its tags, and render the same in other template. If yes, may i know how do i do it. I would really appreciate it, if someone could help me with the above difficulty. Thanks Lohit -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Need help regarding OpenURL and Dspace Options section customization
Hello Everyone, a) I need to modify Dspace options section to : involve a dropdown menu. I have tried modifying the collections and communities list inside the body - into a dropdown menu and it works perfectly. I wish to know, if i can move the same division to Options sections ( instead of Body ). In order to do the above : I have 2 options. 1. I can select the DRI community browser id from xsl and show it in options sections, but I do not think that is possible, since the DRI community browser division: is generated within body in DRI. I do not know, how can i move that division to options sections. 2. I have tried adding a separate java class file, which generates division inside options( i took care of the xmap for the added java class file). However, i could not generate a division. I could generate a list , a link and others inside options ( with the above java file), but a division does not seem to work inside options. I wish I could generate the community browser division inside options, instead of body - as this would drastically simplify the dropdown generation. Please do let me know, if there is anything that i need to do to make the above implementation possible. b ) Also, I have got a requirement to enable OpenURL with Dspace. From the documentation, I understand that Dspace supports OpenURL, but I do not have any idea about how to integrate OpenURL with Dspace. I understand that we need a SFX server, but how do we link Dspace to the SFX server? Please do let me know if anyone has worked on OpenURL integration with Dspace. Thank you Lohit -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Reg: Authorization Policy Customization
Hello All, Dspace has a defined a set of Authorization policies , to give users particular rights like: Read/Write/Delete an item, Read/Add/Remove a collection/community, Workflow access rights etc... However, I want to add few more policies. One of which is: 1. A user group should have access to only: Import Metadata. ( and anonymous read access by default) Right now, Import Metadata can only be done as an Administrator, under Administrator options. I have tried, looking for that particular core java class file, where the users policies are accessed by the system. I wish to know, how does dspace, deal with authorization policies. i.e how does it decide on particular read/add/delete rights to a user, and where in the workflow does that happen. So that i could do the same, for the system to add above policy for a particular user group. May i know, if anyone has an idea about how to go through this. I would be grateful to hear from you. Thank you Lohit -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Regarding : 'Commenting' Addon for Dspace
Hello all, I need to add a commenting addon, to dspace. However - the addon that is present in dspace add-on page, is all written in jsp for JSPUI. I have built/customized dspace for XMLUI. May I ask anyone, who has re-written the above dspace commenting addon for XMLUI? I would have to read the whole code. and rewrite most of it to integrate it with XMLUI, but i just thought of asking , if anyone has already gone through this part of implementation, so that they could help me through the process. Thank you Lohit -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Need Help with Mirage - XMLUI Customization/Documentation
Thanks Helix, that was informative and seems promising. I will try all the steps, and come back to you, if i face any complex problems. On Wed, Oct 17, 2012 at 4:37 AM, helix84 heli...@centrum.sk wrote: Hi Lohit, first, here are some generic resources on XMLUI, you should read them first to get a grasp of the workflow: [1] [2]. [3] can be generally helpful for some common customizations. [4] and [5] can help you with hiding/replacing existing page elements. On Wed, Oct 17, 2012 at 12:20 AM, Lohit Valleru lohi...@gmail.com wrote: 1. I need to change the layout/stucture of the webpage. To change position you have several options, it's on a case-by-case basis I'd decide which approach to use for a particular element: 1) change it using CSS - easiest if you're fine with position:absolute 2) change HTML in XSLT - works nicely if you need to nest/unnest elements 3) change position of an element in HTML - sometimes it might be easier to move the code that generates an element in DRI. But this brings a whole new set of complexities to learn first: aspects, overlays and building DSpace. It's always possible to use 2nd approach instead. a. Change the position of search field. As you surely noticed, there are 2 search fields by default, so you can choose which one to move. [4] gives an example how to replace it. b. Change the position of options links - collections and communities, and RSS feeds. Again, in [5] I tried to give a primer on this. I should rework this to a full-fledged tutorial sometimes. c. Separate the search field and others from the option- set, because It's tempting to do this on an aspect level, but it can turn out to be a maintenance nightmare. I recommend you do this in XSLT. Just grep the theme directory for the HTML (e.g. by the id attribute) and move the HTML to a different template where you want it to appear. as far as i understand : All the options can only be move in a combination either left or right - but i want to place each one atdifferent corners Any of the 3 approaches can be used, depending on where exactly you want the elements. 2. I need to create a menu dynamic dropdown - which contains communities and collections. It's not really a DSpace problem :) DSpace gives you a nice ul structure, so just apply any ready-made css/js solution you can find. 3. I need to add few more pages, and extra fields to get more meta data. What do you mean by pages? This describes both how can add static pages and pages with custom content generated by an aspect: [6] But I don't understand whether you're implying some connection of pages and metadata. If you want to edit the submission form, you can find more information in [7] [8] and [9]. If you want to edit the full/summary metadata display on the item page, here's some basic info [10] (a bit dated, but seems still valid). I understand that, in order to change the structure/layout of the page and add fields/extra pages : I need to edit the structure xsl files, xmap cocoon files, and aspect java code. Yes, [6] should lead you through all the steps necessary to set up a basic custom page. But, May I know, if there is any documentation - which can help me understand the workflow from the xsl structure files to the java core files. It's from Java to DRI, then using XSLT from DRI to HTML. [1] and [2] have the details. I'm sure you'll be back later with some more specific questions ;) Good luck. [1] http://www.slideshare.net/tdonohue/making-dspace-xmlui-your-own [2] https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial [3] https://wiki.duraspace.org/display/DSPACE/XMLUI+How+To+Guides [4] https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI ? [5] http://dspace.2283337.n4.nabble.com/from-aspect-to-html-td4658161.html [6] https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthemetutorial-Addingstaticpages [7] https://wiki.duraspace.org/display/DSDOC18/Submission+User+Interface [8] https://wiki.duraspace.org/display/DSPACE/Alter+submission+input+forms [9] https://wiki.duraspace.org/display/DSPACE/Change+a+form+value [10] https://wiki.duraspace.org/pages/viewpage.action?pageId=19006388 Regards, ~~helix84 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Need Help with Mirage - XMLUI Customization/Documentation
Hello All, I have tested, a default installation of Dspace, modified its LDAP/Kerberoros authentication module and workflow, according to our requirements. The Documentation for Dspace core modules has helped me a lot in this respect. However, I have been trying to customize the front-end 'Xmlui-Mirage', and haven't found any kind of documentation, that could help me understand the workflow. These are the customizations that i have already done: 1. Changing the title, subtitle and all the information that is displayed on the body of the Dspace Homepage. 2. Change the background - colour of the header-wrapper, the footer wrapper, and the icons. But, I am yet to know to do the following customizations, and it is being really difficult for me, to understand what to change, and where to change / understand the workflow from the web front end to dspace core modules. 1. I need to change the layout/stucture of the webpage. a. Change the position of search field. b. Change the position of options links - collections and communities, and RSS feeds. c. Separate the search field and others from the option- set, because as far as i understand : All the options can only be move in a combination either left or right - but i want to place each one atdifferent corners 2. I need to create a menu dynamic dropdown - which contains communities and collections. 3. I need to add few more pages, and extra fields to get more meta data. I understand that, in order to change the structure/layout of the page and add fields/extra pages : I need to edit the structure xsl files, xmap cocoon files, and aspect java code. But, May I know, if there is any documentation - which can help me understand the workflow from the xsl structure files to the java core files. In that way - It would be easier for me to modify the front-end code and customize it according to my requirements as i mentioned above. Any help on this would be deeply appreciated. If there is no documentation, May i know, what i need to learn to understand the same. Thank you Lohit -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech