Thank you so much.  That worked very well!  I think I have a better 
understanding now.


On Friday, October 7, 2016 at 4:09:56 AM UTC-4, Shaun Donovan wrote:
>
> Hi Tom.
>
> Without changing to Mirage2, you can edit 
> [dspace]/webapps/xmlui/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl
>
> For example, I added the dc.type field to the short item view by adding 
> the following at about line 292:
>
>           <xsl:when test="$clause = 5 and (dim:field[@element='type' and 
> not(@qualifier) and descendant::text()])">
>                 <div class="simple-item-view-type">
>                    <span 
> class="bold"><i18n:text>xmlui.dri2xhtml.METS-1.0.item-type</i18n:text>:</span>
>                    <span>
>                    <xsl:for-each select="dim:field[@element='type' and 
> not(@qualifier)]">
>                       <xsl:copy-of select="./node()"/>
>                    </xsl:for-each>
>                    </span>
>                </div>
>               <xsl:call-template name="itemSummaryView-DIM-fields">
>                 <xsl:with-param name="clause" select="($clause + 1)"/>
>                 <xsl:with-param name="phase" select="$otherPhase"/>
>               </xsl:call-template>
>           </xsl:when>
>
> You must just be careful with the $clause parameter. If you insert a 
> field, all of the $clause parameters after the inserted one must be 
> incremented, and further down in the file you will see:
>
>             <!-- IMPORTANT: This test should be updated if clauses are 
> added! -->
>             <xsl:if test="$clause &lt; 10">
>
> You need to increment the clause there as well for each field added.
>
> You can edit this file in place, but if you want it to survive re-builds, 
> you need to add it to 
> [dspace-src]/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl
> I personally just rsync my [dspace]/webapps/xmlui/themes/ directory to 
> [dspace-src]/dspace-xmlui/src/main/webapp/themes/ directory, so any changes 
> will survive a re-build.
>
> Cheers.
>
> Shaun.
>
> On 06/10/2016 16:35, Tom Avino wrote:
>
> One quick question, we are running Dspace 5 on a RedHat 6, not Ubuntu. 
>  How does this affect installing the "sudo apt-get install git curl maven 
> ruby-compass default-jdk default-jre" command? 
> We also already have Maven installed.
> Thanks 
> On Thursday, October 6, 2016 at 9:39:01 AM UTC-4, Hilton Gibson wrote: 
>>
>> Hi Tom, 
>>
>> I have some guides here: 
>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2
>>
>> Cheers
>>
>> hg
>>
>> On Thu, 6 Oct 2016 at 15:30 Tom Avino <toma...@gmail.com> wrote:
>>
>>> Hilton, 
>>>
>>> We are using Mirage, not Mirage 2.  What do I need to do to install 
>>> Mirage 2?
>>>
>>> Thanks,
>>>
>>> Tom
>>>
>>>
>>> On Thursday, October 6, 2016 at 8:22:12 AM UTC-4, Hilton Gibson wrote:
>>>
>>>> Hi Tom, 
>>>>
>>>> Assuming that you are using Mirage 2 as your theme.
>>>> See: 
>>>> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl
>>>> And see attached for our custom version.
>>>> Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme
>>>>
>>>> Cheers
>>>>
>>>> hg
>>>>
>>>> On Wed, 5 Oct 2016 at 19:59 Copeland, Matthew M <mat...@ku.edu> wrote:
>>>>
>>> As far as I know, the only way to modify that view in the xmlui is to 
>>>>> modify the xsl file.   Assuming you are on a unix based system, you can 
>>>>> do 
>>>>> the following command at the base of your source tree to find the file.
>>>>>
>>>>>  
>>>>>
>>>>> Ø  find . –name item-view.xsl –print
>>>>>
>>>>>  
>>>>>
>>>>> You will most likely see multiple files, and need to pick the one 
>>>>> appropriate for the theme you are working with.  Also, be sure that if 
>>>>> you 
>>>>> modify the file, you keep the changes in the modules directory version, 
>>>>> to 
>>>>> make updating later easier  (Learned this the hard way), rather than 
>>>>> modifying it in place.
>>>>>
>>>>>  
>>>>>
>>>>> Matthew
>>>>>
>>>>>  
>>>>>
>>>>>  
>>>>>
>>>>>  
>>>>>
>>>> *From:* dspac...@googlegroups.com [mailto:dspac...@googlegroups.com] *On 
>>>>> Behalf Of *Tom Avino
>>>>>
>>>>
>>>>> *Sent:* Wednesday, October 05, 2016 10:38 AM
>>>>>
>>>> *To:* DSpace Technical Support <dspac...@googlegroups.com>
>>>>>
>>>>
>>>>> *Subject:* [dspace-tech] Switching from JSPUI to XMLUI - Customize 
>>>>> the Simple Item record
>>>>>
>>>>  
>>>>>
>>>>> We are new to XMLUI.  We are in the process of upgrading dspace 
>>>>> 3.3(JSPUI) to 5.5(XMLUI).
>>>>>
>>>>> I am trying to customize which metadata items are displayed in the 
>>>>> Simple item records screen.  JSPUI uses the dspace.cfg file to do this.  
>>>>>
>>>>> Can someone point me in the right direction to customize this using 
>>>>> XMLUI?
>>>>>
>>>>>  
>>>>>
>>>>> Thank you,
>>>>>
>>>>>  
>>>>>
>>>>> *Tom Avino *
>>>>>
>>>>> LITES II Application Developer | SAIC 
>>>>>
>>>>> o: 757.864-8495 | thomas.w.av...@nasa.gov 
>>>>>
>>>>> f:  757.864-6649 | thomas.av...@saic.com
>>>>>
>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "DSpace Technical Support" group.
>>>>>
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to dspace-tech...@googlegroups.com.
>>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>>>
>>>>
>>>>> Visit this group at <https://groups.google.com/group/dspace-tech>
>>>>> https://groups.google.com/group/dspace-tech.
>>>>> For more options, visit <https://groups.google.com/d/optout>
>>>>> https://groups.google.com/d/optout.
>>>>>
>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "DSpace Technical Support" group.
>>>>>
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to dspace-tech...@googlegroups.com.
>>>>> To post to this group, send email to dspac...@googlegroups.com.
>>>>
>>>>
>>>>> Visit this group at <https://groups.google.com/group/dspace-tech>
>>>>> https://groups.google.com/group/dspace-tech.
>>>>> For more options, visit <https://groups.google.com/d/optout>
>>>>> https://groups.google.com/d/optout.
>>>>>
>>>> -- 
>>>> *Hilton Gibson*
>>>> Stellenbosch University Library
>>>> * <http://orcid.org/0000-0002-2992-208X>http://orcid.org/0000-0002 
>>>> <http://orcid.org/0000-0002>-2992-208X*
>>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to dspace-tech...@googlegroups.com.
>>> To post to this group, send email to dspac...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> *Hilton Gibson*
>> Stellenbosch University Library
>> * <http://orcid.org/0000-0002-2992-208X>http://orcid.org/0000-0002 
>> <http://orcid.org/0000-0002>-2992-208X*
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dspace-tech...@googlegroups.com <javascript:>.
> To post to this group, send email to dspac...@googlegroups.com 
> <javascript:>.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
>
> *Shaun donovan* managing director 
>
> <javascript:>*sha...@teqcle.co.za <javascript:>* / 
>
> *Teqcle Information Technologies (Pty) Ltd* 
> Mobile: +27 83 388 4447 / Office: +27 12 665 2723 / Fax: +27 86 637 5495 
> Unit 21; Cambridge Office Park; 5 Bauhinia Street; Highveld Techno Park; 
> Centurion 
> *www.teqcle.co.za* <http://www.teqcle.co.za/>
>
>
> The views expressed in this email including attachments are, unless 
> otherwise stated, those of the author. The information in this email is 
> confidential and is intended solely for the addressee. Access to this email 
> by anyone else is unauthorised. If you are not the intended recipient, any 
> disclosure, copying, distribution or any action taken or omitted in 
> reliance on this, is prohibited and may be unlawful. Whilst all reasonable 
> steps are taken to ensure the accuracy and integrity of information and 
> data transmitted electronically and to preserve the confidentiality 
> thereof, no liability or responsibility whatsoever is accepted if 
> information or data is, for whatever reason, corrupted or does not reach 
> its intended destination.
>
>
> “If you are satisfied with our service, please search for Teqcle on 
> Google and leave a review”
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to