User Tools

Site Tools


en:user:interfaces

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:user:interfaces [2019/09/22 23:46] – [How to change just one template] kjdonen:user:interfaces [2020/09/03 21:26] – [Additional Resources] anupama
Line 66: Line 66:
 The new about.xsl file doesn't have to implement everything in the old version. You can add in only the templates that you want to change. The new about.xsl file doesn't have to implement everything in the old version. You can add in only the templates that you want to change.
  
-For example, this might be the collection's about.xsl. We are only changing 1 template.+For example, this might be the collection's about.xsl. We are only changing 1 template. The rest of the about page templates will come from the defualt XSL file: web/interfaces/default/transform/pages/about.xsl,
 <code> <code>
 <?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
Line 79: Line 79:
  
   <xsl:template name="coll-description">   <xsl:template name="coll-description">
-    <xsl:value-of select="/page/pageResponse/collection/displayItemList/displayItem[@name='description']" disable-output-escaping="yes"/> +    <xsl:value-of select="/page/pageResponse/collection/displayItemList/ 
-   <h4>This collection has <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='numDocs']"/> docs.</h4>+displayItem[@name='description']" disable-output-escaping="yes"/> 
 +   <h4>This collection has <xsl:value-of select="/page/pageResponse/collection/ 
 +metadataList/metadata[@name='numDocs']"/> docs.</h4>
  </xsl:template>  </xsl:template>
  
Line 210: Line 212:
     * [[http://wiki.greenstone.org/gsdoc/tutorial/gs3-current/en/new_interface2.htm|Designing a new interface: Part 2]]     * [[http://wiki.greenstone.org/gsdoc/tutorial/gs3-current/en/new_interface2.htm|Designing a new interface: Part 2]]
     * [[http://wiki.greenstone.org/gsdoc/tutorial/gs3-current/en/new_interface3.htm|Designing a new interface: Part 3]]     * [[http://wiki.greenstone.org/gsdoc/tutorial/gs3-current/en/new_interface3.htm|Designing a new interface: Part 3]]
 +    * [[en:user:expanding_on_gs3_customisation_tutorials|Expanding on the GS3 Customisation tutorials]] to add support for collection groups, the depositor, add links for search forms, add a dropdown for search levels
  
en/user/interfaces.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1