I wanted to add a new seperate item list to search like category list (Below
the category, New table row). I have written all the codes like categories
for my NewItems. I have created ddf file for my NewItem in SQL GAST Folder
and imported the database to postgreSQL. I have succesfully created the
tables in the postgreSQL. Also I added some sample item list to my NewItem
list for check my work. After running geonetwork I couldn't view the list
under the NewItem list. I could see only the Label 'NewItem'. I did all
refreshing and restarting servers but i couldn't view. I tested the code. I
found the file does not read newItem define in the following syntex. I
wanted to know whre thsese file are created. <xsl:for-each
select="/root/gui/newItems/*">
Thank You, Best Regards
<xsl:template name="newItems">
<h1 align="left">
<xsl:value-of select="/root/gui/strings/newItems"/>
</h1>
<xsl:for-each select="/root/gui/newItems/*">
<!--<xsl:sort select="label/child::*[name() = $lang]" order="ascending"/>
-->
<xsl:variable name="itemName" select="name"/>
<xsl:variable name="itemLabel" select="label/child::*[name() = $lang]"/>
<div class="arrow" onClick="runItemSearch('{$itemName}');"
style="cursor:hand;cursor:pointer">
<xsl:value-of select="$itemLabel"/>
<br/>
</div>
</xsl:for-each>
</xsl:template>
--
View this message in context: http://n2.nabble.com/Add-a-new-Item-List-tp3429665p3429665.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.