Changeset 28941
- Timestamp:
- 2014-03-21T18:56:41+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/xml-source/tutorial_en.xml
r28664 r28941 2423 2423 </NumberedItem> 2424 2424 <NumberedItem> 2425 <Text id="0533e">To change the text that is displayed in the drop-down menus of the search form, go to the <AutoText key="glidict::CDM.GUI.SearchMetadata"/> section of the <AutoText key="glidict::GUI.Format"/> panel. Here you can change the display text for the indexes.</Text>2425 <Text id="0533e">To change the text that is displayed in the drop-down menus of the search form, you would go to the <AutoText key="glidict::CDM.GUI.SearchMetadata"/> section of the <AutoText key="glidict::GUI.Format"/> panel. Here you can change the display text for the indexes.</Text> 2426 2426 </NumberedItem> 2427 2427 <Heading> … … 4674 4674 </NumberedItem> 4675 4675 <NumberedItem> 4676 <Text id="0757">Now change to the <AutoText key="glidict::GUI.Create"/> panel, locate the options for the import process and set <AutoText text="saveas"/> to <AutoText text=" METS"/>. Import options are not available unless you are in <AutoText key="glidict::Preferences.Mode.Expert"/> mode.</Text>4676 <Text id="0757">Now change to the <AutoText key="glidict::GUI.Create"/> panel, locate the options for the import process and set <AutoText text="saveas"/> to <AutoText text="GreenstoneMETS"/>. Import options are not available unless you are in <AutoText key="glidict::Preferences.Mode.Expert"/> mode.</Text> 4677 4677 </NumberedItem> 4678 4678 <NumberedItem> … … 5343 5343 <Tab n="3"/><xsl:otherwise><br /> 5344 5344 <Tab n="4"/><li class="login"><br /> 5345 <Tab n="5"/><a href="{$library_name}?a=p& sa=login&redirectURL={$library_name}%3Fa=p%26sa=home">Login<br/>5345 <Tab n="5"/><a href="{$library_name}?a=p&amp;sa=login&amp;redirectURL={$library_name}%3Fa=p%26sa=home">Login<br/> 5346 5346 <Tab n="6"/><xsl:attribute name="title"><br/> 5347 5347 <Tab n="7"/><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'login_tip')"/><br/> … … 5357 5357 <Text id="hp-24">Then, find the following section:</Text> 5358 5358 <Format> 5359 <li><a href="?a=p& sa=login&redirectURL={$library_name}%3Fa=p%26sa=home">Login</a></li><br />5359 <li><a href="?a=p&amp;sa=login&amp;redirectURL={$library_name}%3Fa=p%26sa=home">Login</a></li><br /> 5360 5360 <li><a href="{$library_name}/admin/AccountSettings?s1.username=">Account Settings</a></li><br /> 5361 5361 <li><a href="{$library_name}/admin/AddUser">Register a new user</a></li><br /> … … 5403 5403 <Text id="dl-c2"><b>Interfaces</b> dictate the presentation -- e.g. the HTML, CSS, Javascript, etc. used to present the content. You can have multiple sites and interfaces. <br/><br/></Text> 5404 5404 <Text id="dl-c3"><b>Libraries</b> combine content and presentation. To define a library, you select the site and the interface you want it to use. And, of course, you can have multiple libraries, and each site and interface can be used multiple times. <br/><br/></Text> 5405 <Text id="dl-c4">In this tutorial, we will become familiar with <b>web.xml</b> (where libraries are defined), create a new site, add an interface, and define a new library.</Text>5405 <Text id="dl-c4">In this tutorial, we will become familiar with <b>web.xml</b> (where libraries are defined), create a new site, add an interface, and define a new library.</Text> 5406 5406 </Comment> 5407 5407 <Heading> … … 5748 5748 <NumberedItem> 5749 5749 <Text id="ni2-06">Save <b>home.xsl</b> and refresh your web browser. You should no longer have an error. For every collection in your library, you should now see an image followed by the collection's name. In a moment, we will add in the Javascript that will turn these into a slider, but first, let's consider what the collSlider template is doing.</Text> 5750 <Text id="ni2-07">Basically, for every collection in your library (<Format><xsl:for-each select="./collectionList/collection"></Format>), it is creating a list item tha nincludes an image and the collection's name, which links to the collection's about page. If the collection has a Home page image (the "smallicon"), this will be displayed. Otherwise a backup image (<i>default.jpg</i>, which is located in <Path>perrin → images</Path>) will be displayed. </Text>5750 <Text id="ni2-07">Basically, for every collection in your library (<Format><xsl:for-each select="./collectionList/collection"></Format>), it is creating a list item that includes an image and the collection's name, which links to the collection's about page. If the collection has a Home page image (the "smallicon"), this will be displayed. Otherwise a backup image (<i>default.jpg</i>, which is located in <Path>perrin → images</Path>) will be displayed. </Text> 5751 5751 </NumberedItem> 5752 5752 <NumberedItem> … … 5841 5841 </Format> 5842 5842 <Comment> 5843 <Text id="ni2-14a">These templates are amore complicated, but a basic explanation follows (don't worry if you don't understand it). You can skip ahead to Step 9 if you'd like.</Text>5843 <Text id="ni2-14a">These templates are more complicated, but a basic explanation follows (don't worry if you don't understand it). You can skip ahead to Step 9 if you'd like.</Text> 5844 5844 </Comment> 5845 5845 <Text id="ni2-14">First look at the collDescription template. It creates a header that links to the collection's about page (<Format><h2><a href="{$library_name}/collection/{$collectionFolder}/page/about"><xsl:value-of select="$collectionName"/></a></h2></Format>). Then, if there is an About page image for the collection, this is displayed. Finally, if the collection has a description (<Format><xsl:when test="$collDesc"></Format>), it will display this description. Otherwise, it will display the a generic sentence stating the collection's name and how many documents it contains.</Text>
Note:
See TracChangeset
for help on using the changeset viewer.