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 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 > test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='title']/i18n:text='xmlui.general.dspace_home'"> > <xsl:copy-of select="document('../../static/homepage-body.xhtml')"/> > </xsl:when> > <xsl:otherwise> > <!-- Do nothing, since only homepage gets special content --> > </xsl:otherwise> > </xsl:choose> > <xsl:apply-templates /> > > This will just add the html file for the homepage, none of the other pages > in the site. You'll have to fill in the xhtml file as well. > Peter Dietz > Systems Developer/Engineer > Ohio State University Libraries > > > > On Tue, Mar 1, 2011 at 7:10 PM, Jerrold Shiroma <jbshi...@hawaii.edu> wrote: >> >> 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 Shiroma >> University of Hawai'i Manoa >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech