Terry, We have modified our Headers the same way, as well as our footers and some other things, but I am looking for a way to modify logic, such as, before allowing a user into our Dspace home page, I want to display a disclaimer page. If yes, take the user to the home URL. If no, exit Dspace. This was simple in JSP
Go Hoyas! On Thursday, August 17, 2017 at 3:22:35 PM UTC-4, Terry Brady wrote: > > Tom, here is a link to the repository that I support which is running > DSpace 5x + XMLUI + Mirage2 theme. > > https://repository.library.georgetown.edu/ > > In my source code branch, I have a directory > dspace\modules\xmlui-mirage2\src\main\webapp\themes\Mirage2\xsl in which I > have overridden Mirage 2XSL templates. > > - See > > https://github.com/DSpace/DSpace/tree/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl > > > For instance, I have overridden the "buildHeader" template with my own > header components. > > - See > > https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L321 > > When you are working with XMLUI, you can view the back-end XML by adding > ?XML to any URL. From that XML, you can find the xml element to be > modified. Once you know the element, you search the XSL for the template > that modifies that element and can provide your override. > > The following section of the wiki might also help: > https://wiki.duraspace.org/display/DSDOC5x/XMLUI+Configuration+and+Customization > > On Thu, Aug 17, 2017 at 8:53 AM, Tom Avino <[email protected] > <javascript:>> wrote: > >> Terry, >> I am a coder by trade. I have 20+ years as on Oracle developer writing >> SQL, packages, etc. I have been working with Dspace for a few years, but on >> the JSP side. >> In general, is there a way to "code" using XMLUI? I have looked at >> tutorials on XSL and XSL, but do not see any way to veer of the path to do >> something different other than change what and how something is displayed. >> One example I am trying to do is, our system requires a disclaimer page >> in front of the dspace home page. In JSPUI, I just modified the code on the >> home.jsp page. I need to learn how to write some code using the XMLUI >> interface. >> Do you have any answers or know someone who might? Any help would be >> appreciated. >> >> Thanks >> >> Tom >> >> On Monday, August 14, 2017 at 4:54:00 PM UTC-4, Terry Brady wrote: >>> >>> I have never run JSPUI, so I do not know how the authentication process >>> differs between XMLUI and JSPUI. >>> >>> The behavior you describe matches my experience with XMLUI. I have >>> found that I have to hit the Login button. If I am already authenticated >>> with Shibboleth, I am not required to re-authenticate after hitting Login. >>> >>> I see that JSPUI has a setting *webui.session.invalidate* described >>> here >>> https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#ConfigurationReference-JSPWebInterface(JSPUI)Settings >>> >>> that may have enable the feature you describe. If that is correct, I do >>> not see a similar setting for XMLUI. >>> >>> Terry >>> >>> On Mon, Aug 14, 2017 at 11:33 AM, Tom Avino <[email protected]> wrote: >>> >>>> I may not have asked this the correct way on my last post. >>>> What I am trying to do is automatically login to my Dspace 5.5 (XMLUI) >>>> session when I enter the URL. We are using Shibboleth, and our old system >>>> (Dspace 3.3) was using JSPUI. Our users were automatically logged in. >>>> Since the upgrade, I have to press the "Login" to login. Is it >>>> possible that our 3.3 JSPUI instance was using JSP to do the automatic >>>> login? If so, how do I do this in XMLUI? >>>> I am really stuck on this one. I want to be able to enter our URL and >>>> be logged in and ready to go. >>>> >>>> Thank you, >>>> >>>> >>>> >>>> *Tom Avino * >>>> >>>> LITES II Application Developer | SAIC >>>> >>>> o: 757.864-8495 | [email protected] >>>> >>>> f: 757.864-6649 | >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "DSpace Technical Support" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at https://groups.google.com/group/dspace-tech. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Terry Brady >>> Applications Programmer Analyst >>> Georgetown University Library Information Technology >>> http://georgetown-university-libraries.github.io/ >>> 425-298-5498 (Seattle, WA) >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "DSpace Technical Support" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/dspace-tech. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Terry Brady > Applications Programmer Analyst > Georgetown University Library Information Technology > http://georgetown-university-libraries.github.io/ > 425-298-5498 (Seattle, WA) > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
