On Tue, Jun 14, 2011 at 19:48, Shafer, Philip <[email protected]> wrote: > So if I wanted to change the title and path of the log-in link in the > options side bar and in the header in Dspace 1.7 using XMLUI, how would I > go about doing that? How can I remove the Register link as well? I can't > seem to find any documentation on this.
I just checked, actually here's what I did (in apache httpd configuration): <Location /login> RewriteEngine on RewriteRule ^.*$ https://%{SERVER_NAME}/ldap-login [L,R] </Location> That will work assuming you use httpd in front of tomcat. If you don't change XSL as I said before. You didn't specify which interface or theme you use, so I'll assume XMLUI Reference theme: override the buildHeader template from dri2xhtml/structural.xsl and change this: <xsl:attribute name="href"> <xsl:value-of select="/dri:document/dri:meta/dri:userMeta/ dri:metadata[@element='identifier' and @qualifier='loginURL']"/> </xsl:attribute> to this: <xsl:attribute name="href"> http://<xsl:value-of select="/dri:document/dri:meta/dri:pageMeta/ dri:metadata[@element='request' and @qualifier='serverName']"/>/ldap-login </xsl:attribute> (I didn't test it though). To disable the registration link in XMLUI, just set this in dspace.cfg: xmlui.user.registration=false and restart Tomcat. If the change is not visible immediately on all pages, you may have to clear the Cocoon cache. Hope that helps. Regards, ~~helix84 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

