#1001: Profile / Can't create custom tabs for more than one profile
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: minor | Milestone: v2.9.0
Component: General | Version: v2.8.0RC0
Keywords: |
---------------------+------------------------------------------------------
extraTabs mode is overriden when having more than one iso19139 profile
loaded. Use a call template instead iso19139ExtraTab,
iso19139.sextantExtraTab, ...
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1001>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#1001: Profile / Can't create custom tabs for more than one profile
----------------------+-----------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: minor | Milestone: v2.9.0
Component: General | Version: v2.8.0RC0
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by fxp):
* status: new => closed
* resolution: => fixed
Comment:
https://github.com/geonetwork/core-
geonetwork/commit/26b92fdf727ebc6d328dff53c0169dc48580ac92
To customize complete tab (and add new ones) use:
{{{
<xsl:template name="iso19139.profileIdCompleteTab">
<xsl:param name="tabLink"/>
<xsl:param name="schema"/>
<xsl:call-template name="iso19139CompleteTab">
<xsl:with-param name="tabLink" select="$tabLink"/>
<xsl:with-param name="schema" select="$schema"/>
</xsl:call-template>
<xsl:call-template name="mainTab">
<xsl:with-param name="title"
select="/root/gui/schemas/*[name()=$schema]/strings/tab"/>
<xsl:with-param name="default">profileId</xsl:with-param>
<xsl:with-param name="menu">
<item label="profileIdTab">profileId</item>
</xsl:with-param>
</xsl:call-template>
</xsl:template>
}}}
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1001#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.