Hi Jose, I think you want to look for the view-open template, it's near the end of item-view.xsl in Mirage2. Here's a link:
https://github.com/DSpace/DSpace/blob/022fc445d3bb5d7d08b8daf275120496ba68bbaa/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl#L658 You should be able to add a line like <xsl:attribute name="target"><xsl:text>blank</xsl:text></xsl:attribute> Below the existing href attribute Cheers! M: [email protected] T: @kimshepherd P: +6421883635 W: www.shepherd.nz <http://shepherd.nz> 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC On Sun, 21 Apr 2019 at 00:49, Jose Texier <[email protected]> wrote: > Hi. > > I want to open the PDF in a new page in Mirage2, but I have not found the > way. > > I understand that this is the "item-view.xsl" file, but I can not find > where to include the target property (HTML) with the value "_blank", the > option to open the PDF of the item. > > Thanks, > Jose > > -- > All messages to this mailing list should adhere to the DuraSpace Code of > Conduct: https://duraspace.org/about/policies/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-community. > For more options, visit https://groups.google.com/d/optout. > -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-community. For more options, visit https://groups.google.com/d/optout.
