Hi again all --
I've finally gotten to this, and it correctly inserts my text into
the right page, but it seems to have the side-effect of breaking
the LDAP log-ins -- when you hit the go button, it just hangs, with
no obvious errors anywhere, even if you put obviously-wrong data into
the username and password fields.
It's highly reproducible, pulling the few lines of xsl restores
functionality immediately.
I figure it's got to be bad placement of the div in the page,
viewing the HTML source shows that it looks like it's inside some
form elements -- not in the <form> </form> group, but within the
fields.
I am not wise in the ways of XSL -- can I do a better job
protecting my text somehow? And/or can someone provide a match rule
that places the content differently on the page?
Thanks in advance.
-- A.
On Wed, Sep 25, 2013 at 09:28:48AM +0200, helix84 wrote:
> Hi Andrew,
>
> put this into your themes's xsl:
>
>
> <xsl:template name="disable_front-page-search"
> match="dri:div[@id='aspect.eperson.LDAPLogin.div.login']">
> <xsl:apply-templates />
> <div>Your stuff goes here</div>
> </xsl:template>
>
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
Dr. Andrew C. E. Reid
Physical Scientist, Computer Operations Administrator
Center for Theoretical and Computational Materials Science
National Institute of Standards and Technology, Mail Stop 8555
Gaithersburg MD 20899 USA
[email protected]
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette