Re: [Dspace-tech] Change StaticTrail title in breadcrumb
Thank you Helix, work beautiful :-D 2013/7/18 helix84 > Hi Diego, > > to be more precise, "StaticTrail" will show up only if you name your > page something else than "page/about". For "page/about", "About This > Repository" will show up as trail text. > > You have overriden only the match="dri:body" template [1]. To specify > custom trail text and title text, you also have to override these > other two templates, respectively: [2] [3]. > > [1] > https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L578 > [2] > https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L288 > [3] > https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L400 > > > Regards, > ~~helix84 > > Compulsory reading: DSpace Mailing List Etiquette > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Change StaticTrail title in breadcrumb
Hi Diego, to be more precise, "StaticTrail" will show up only if you name your page something else than "page/about". For "page/about", "About This Repository" will show up as trail text. You have overriden only the match="dri:body" template [1]. To specify custom trail text and title text, you also have to override these other two templates, respectively: [2] [3]. [1] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L578 [2] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L288 [3] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L400 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Change StaticTrail title in breadcrumb
I create this page with: About Lorem ipsum... This was how I created the page, had failed to understand tutorial for creating page, so I made this way. Thanks. 2013/7/5 Drover, Matt > How did you create the pages? There are a few methods. > > ** ** > > ** ** > > *Matthew Drover > *Programmer Consultant > > Immersive Technology > Distance Education, Learning and Teaching Support > *Memorial University of Newfoundland* > > ** ** > > ** ** > > ** ** > > *From:* Diego Bastos [mailto:apiweb2...@gmail.com] > *Sent:* Thursday, July 4, 2013 5:51 PM > *To:* dspace-tech@lists.sourceforge.net > *Subject:* [Dspace-tech] Change StaticTrail title in breadcrumb > > ** ** > > Hello all right? > > Created some static pages on my installation of DSpace (XMLUI - Mirage > Theme), but in the breadcrumb, it displays those pages with the name > StaticTrail, is there any way to set the name of these pages so that they > appear in the breadcrumb. > > ** ** > > I saw that he had a "how to", but he did not detail this part as well, so > I did not follow these steps. > > This electronic communication is governed by the terms and conditions at > http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php > -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Change StaticTrail title in breadcrumb
How did you create the pages? There are a few methods. Matthew Drover Programmer Consultant Immersive Technology Distance Education, Learning and Teaching Support Memorial University of Newfoundland From: Diego Bastos [mailto:apiweb2...@gmail.com] Sent: Thursday, July 4, 2013 5:51 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Change StaticTrail title in breadcrumb Hello all right? Created some static pages on my installation of DSpace (XMLUI - Mirage Theme), but in the breadcrumb, it displays those pages with the name StaticTrail, is there any way to set the name of these pages so that they appear in the breadcrumb. I saw that he had a "how to", but he did not detail this part as well, so I did not follow these steps. This electronic communication is governed by the terms and conditions at http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Change StaticTrail title in breadcrumb
Hello all right? Created some static pages on my installation of DSpace (XMLUI - Mirage Theme), but in the breadcrumb, it displays those pages with the name StaticTrail, is there any way to set the name of these pages so that they appear in the breadcrumb. I saw that he had a "how to", but he did not detail this part as well, so I did not follow these steps. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette