Changeset 34162

Show
Ignore:
Timestamp:
13.06.2020 16:37:06 (4 weeks ago)
Author:
ak19
Message:

Tutorial document now contains the crucial id=gs_content in the main.xsl for the affected customisation tutorial, and discusses that it is essential.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorials/xml-source/tutorial_en.xml

    r33779 r34162  
    44     <!ENTITY rarr "&#8594;"> 
    55     <!ENTITY mdash "&#8212;">   
    6      <!ENTITY copy "&#169;">    
     6     <!ENTITY copy "&#169;"> 
    77]> 
    88<TutorialList> 
     
    66286628<Format> 
    66296629    <Tab n="2"/>&lt;div class="wrapper"&gt;<br/> 
    6630   <Tab n="3"/>&lt;div class="container"&gt;<br/> 
     6630  <Tab n="3"/>&lt;div class="container" id="gs_content"&gt;<br/> 
    66316631        <Tab n="4"/>&lt;xsl:apply-templates select="/page"/&gt;<br/> 
    66326632                <Tab n="4"/>&lt;br class="clear" /&gt;  <br/> 
     
    66346634<Tab n="2"/>&lt;/div&gt;<br/> 
    66356635</Format> 
     6636<Text id="ni3-08a"><b>Important note:</b> in any interface's <b>main.xsl</b> file, the div containing the <Format>&lt;xsl:apply-templates select="/page"/&gt;</Format> element <b>must</b> be given the attribute <Format>id="gs_content"</Format>. Much of the proper functioning of Greenstone3 is dependent on this. So be aware of this if you modify or create your own main.xsl for a custom Greenstone 3 interface.</Text> 
    66366637</NumberedItem> 
    66376638<NumberedItem>