Re: [Dspace-tech] two theme modification questions: linking author
Yes! Thank you, that worked, and I was able to make my subject links clickable too. Alice -Original Message- From: Keith Gilbertson [mailto:keith.gilbert...@gmail.com] Sent: Thursday, October 08, 2009 11:12 AM To: Platt, Alice Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] two theme modification questions: linking author On Wed, Oct 7, 2009 at 10:17 AM, Platt, Alice a.pl...@snhu.edu wrote: Hi Keith, Thank you, yes, that does exactly match what I am looking for. Unfortunately, now my link doesn't go anywhere! In DSpace 1.5, the author browse links have changed to this format: /browse?value=Artschwager%2C+Richardtype=author any difference with this modification? [a] [xsl:attribute name=href] [xsl:value-of select=concat($context-path,'/browse?value=')/] [xsl:copy-of select=./]amp;type=author [/xsl:attribute] [xsl:value-of select=text()/] [/a] I used the code in the wiki for the link, shown below (I've changed the html brackets to different brackets for email transmission), but apparently the value-of select has also changed in 1.5. Methinks we need to update the wiki! ;-) [a] [xsl:attribute name=href] [xsl:value-of select=concat($context-path,'/browse-author-items?author=')/] [xsl:copy-of select=./] [/xsl:attribute] [xsl:value-of select=text()/] [/a] Please consider the environment before printing this e-mail. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] two theme modification questions: linking author
On Wed, Oct 7, 2009 at 10:17 AM, Platt, Alice a.pl...@snhu.edu wrote: Hi Keith, Thank you, yes, that does exactly match what I am looking for. Unfortunately, now my link doesn't go anywhere! In DSpace 1.5, the author browse links have changed to this format: /browse?value=Artschwager%2C+Richardtype=author any difference with this modification? [a] [xsl:attribute name=href] [xsl:value-of select=concat($context-path,'/browse?value=')/] [xsl:copy-of select=./]amp;type=author [/xsl:attribute] [xsl:value-of select=text()/] [/a] I used the code in the wiki for the link, shown below (I've changed the html brackets to different brackets for email transmission), but apparently the value-of select has also changed in 1.5. Methinks we need to update the wiki! ;-) [a] [xsl:attribute name=href] [xsl:value-of select=concat($context-path,'/browse-author-items?author=')/] [xsl:copy-of select=./] [/xsl:attribute] [xsl:value-of select=text()/] [/a] -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] two theme modification questions
On Tue, Oct 6, 2009 at 10:57 AM, Platt, Alice a.pl...@snhu.edu wrote: I’d like to make the Author and Subject clickable links in the simple item view. The instructions on the Manakin HOWTO page of the DSpace wiki says that “The XSLT that creates author listings is in themes/dri2xhtml/DS-METS-1.0-DIM.xsl”. However, I do not have a file called DS-METS-1.0-DIM.xsl. Has this code moved to a different xsl file, and where would I find it? I did try looking in “structural.xsl,” but it wasn’t there. Hi Alice. In the 1.5 version of Manakin, there is a file called DIM-Handler.xsl. The metadata in the simple item view is formatted in the template that starts with this line: xsl:template match=dim:dim mode=itemSummaryView-DIM Does this match what you're looking for? -- keith -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] two theme modification questions
My other question: I’d also like to add some text below the “go” button on the Advanced Search page. I’ve added what I want to say to messages.xml, but now I’m having trouble finding the code for where the Advanced Search page comes from. I figured if I searched in the structural.xsl file for some of the other messages.xml text that is present on the Advanced Search page, I would find it, but… no luck. In the 1.5 version of Manakin, the Advanced Search form is built in the Java code, in the AdvancedSearch.java file of the artifactbrowser aspect. If you don't want to touch the Java file, it's still possible to override this form at the theme level by using a new template in your theme that starts with this line: xsl:template match=dri:d...@n='advanced-search'] -- keith -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] two theme modification questions: linking author
Hi Keith, Thank you, yes, that does exactly match what I am looking for. Unfortunately, now my link doesn't go anywhere! I used the code in the wiki for the link, shown below (I've changed the html brackets to different brackets for email transmission), but apparently the value-of select has also changed in 1.5. Methinks we need to update the wiki! ;-) [a] [xsl:attribute name=href] [xsl:value-of select=concat($context-path,'/browse-author-items?author=')/] [xsl:copy-of select=./] [/xsl:attribute] [xsl:value-of select=text()/] [/a] Does anyone know what this link should be for 1.5? I compared the HTML code of the link I just created to the link that displays in the Author Browse (assuming they would be the same) and they are definitely different, but now I'm having trouble figuring out where the code comes from that created the browse link. Grrr. I had also planned to link the Subject... I imagine the links would be very similar. Alice -Original Message- From: Keith Gilbertson [mailto:keith.gilbert...@gmail.com] Sent: Wednesday, October 07, 2009 7:53 AM To: Platt, Alice Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] two theme modification questions On Tue, Oct 6, 2009 at 10:57 AM, Platt, Alice a.pl...@snhu.edu wrote: I'd like to make the Author and Subject clickable links in the simple item view. The instructions on the Manakin HOWTO page of the DSpace wiki says that The XSLT that creates author listings is in themes/dri2xhtml/DS-METS-1.0-DIM.xsl. However, I do not have a file called DS-METS-1.0-DIM.xsl. Has this code moved to a different xsl file, and where would I find it? I did try looking in structural.xsl, but it wasn't there. Hi Alice. In the 1.5 version of Manakin, there is a file called DIM-Handler.xsl. The metadata in the simple item view is formatted in the template that starts with this line: xsl:template match=dim:dim mode=itemSummaryView-DIM Does this match what you're looking for? -- keith Please consider the environment before printing this e-mail. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech