[Dspace-tech] Including code just on homepage

2011-03-02 Thread Jerrold Shiroma
Hi Everyone, I'm wanting to include a bit of code to display an image slider script, but want this code to appear only on the homepage. The code itself appears in the buildHeader portion of the page-structure.xsl file. What would be the best way to go about this? Thanks in advance! Jerrold

Re: [Dspace-tech] Including code just on homepage

2011-03-02 Thread Peter Dietz
Hi Jerrold, The solution that works the best for us is to have xslt include an external html file into the homepage. So in the xsl file/template that you want to include content (when its the homepage), you can add. xsl:choose xsl:when

Re: [Dspace-tech] Including code just on homepage

2011-03-02 Thread Jerrold Shiroma
Hi Peter, Thanks for this. Exactly what we were looking for. Best wishes, Jerrold Shiroma University of Hawai'i Manoa On Wed, Mar 2, 2011 at 11:41 AM, Peter Dietz pdiet...@gmail.com wrote: Hi Jerrold, The solution that works the best for us is to have xslt include an external html file into