<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to hide or remove the title &amp;quot;Metadata&amp;quot; from the default summary tab of a document? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-hide-or-remove-the-title-quot-metadata-quot-from-the/m-p/328486#M15487</link>
    <description>&lt;P&gt;Where can i edit to disable this title from coming up.&lt;IMG src="https://connect.hyland.com/upfiles/defaultTitle.PNG" alt="alt text" /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Nov 2012 02:29:37 GMT</pubDate>
    <dc:creator>Ansel_Andrew</dc:creator>
    <dc:date>2012-11-24T02:29:37Z</dc:date>
    <item>
      <title>How to hide or remove the title "Metadata" from the default summary tab of a document?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-hide-or-remove-the-title-quot-metadata-quot-from-the/m-p/328486#M15487</link>
      <description>&lt;P&gt;Where can i edit to disable this title from coming up.&lt;IMG src="https://connect.hyland.com/upfiles/defaultTitle.PNG" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2012 02:29:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-hide-or-remove-the-title-quot-metadata-quot-from-the/m-p/328486#M15487</guid>
      <dc:creator>Ansel_Andrew</dc:creator>
      <dc:date>2012-11-24T02:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide or remove the title "Metadata" from the default summary tab of a document?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-hide-or-remove-the-title-quot-metadata-quot-from-the/m-p/328487#M15488</link>
      <description>&lt;P&gt;I'm afraid we have to disable the default summary tab to create a custom one without the Metadata title...    I'm also interested in this question...&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 12:15:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-hide-or-remove-the-title-quot-metadata-quot-from-the/m-p/328487#M15488</guid>
      <dc:creator>Guian_</dc:creator>
      <dc:date>2013-11-22T12:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide or remove the title "Metadata" from the default summary tab of a document?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-hide-or-remove-the-title-quot-metadata-quot-from-the/m-p/328488#M15489</link>
      <description>&lt;P&gt;For Nuxeo 5.6 &amp;gt;&amp;gt; The title is displayed using the fragment held in metadata_custom_widget_template.xhtml in &lt;CODE&gt;*\nuxeo.war\widgets\summary&lt;/CODE&gt;. You can simply contribute an override for this fragment removing the following code... which displays the 'metadata' title&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;h3 class="summaryTitle"&amp;gt;
    &amp;lt;h:outputText value="#{messages['action.view.metadata.specific']}" /&amp;gt;
&amp;lt;/h3&amp;gt;    
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You could override the action.view.metadata.specific label but this wouldn't reclaim the space and may have other side-effects (you'd have to check where else the tag is use).&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 13:42:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-hide-or-remove-the-title-quot-metadata-quot-from-the/m-p/328488#M15489</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2013-11-22T13:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide or remove the title "Metadata" from the default summary tab of a document?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-hide-or-remove-the-title-quot-metadata-quot-from-the/m-p/328489#M15490</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If this is the default summary, you can override the default widget handling this:&lt;/P&gt;
&lt;P&gt;In 5.6, the label was harcoded anyway in the template at /widgets/summary/metadata_custom_widget_template.xhtml (see &lt;A href="https://jira.nuxeo.com/browse/NXP-10949"&gt;NXP-10949&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;In 5.8, you can just override the default widget configuration to hide the "Custom Metadata" label:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;widget name="summary_current_document_view" type="summary_current_document_view"&amp;gt;
  &amp;lt;labels&amp;gt;
    &amp;lt;label mode="any"&amp;gt;&amp;lt;/label&amp;gt;
  &amp;lt;/labels&amp;gt;
  &amp;lt;controls mode="any"&amp;gt;
    &amp;lt;control name="requireSurroundingForm"&amp;gt;true&amp;lt;/control&amp;gt;
    &amp;lt;control name="handleLabels"&amp;gt;true&amp;lt;/control&amp;gt;
  &amp;lt;/controls&amp;gt;
&amp;lt;/widget&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Setting an empty label will make it fallback on the default "metadata" label.
If you do not want any label, you can remove the "handleLabels" control and leave an empty label.&lt;/P&gt;
&lt;P&gt;Note there is another widget, showing only the dublincore metadata (displayed by default on Note and File document types) that should be overriden too to get rid of the "Metadata" label:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;widget name="summary_current_document_dublincore" type="summary_current_document_dublincore"&amp;gt;
  &amp;lt;labels&amp;gt;
    &amp;lt;label mode="any"&amp;gt;&amp;lt;/label&amp;gt;
  &amp;lt;/labels&amp;gt;
  &amp;lt;controls mode="any"&amp;gt;
    &amp;lt;control name="requireSurroundingForm"&amp;gt;true&amp;lt;/control&amp;gt;
    &amp;lt;control name="handleLabels"&amp;gt;true&amp;lt;/control&amp;gt;
  &amp;lt;/controls&amp;gt;
&amp;lt;/widget&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Do not forget to add the following require to your contribution to ensure override:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;component ...&amp;gt;
  &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.forms.layouts.webapp.summary&amp;lt;/require&amp;gt;
  &amp;lt;extension ...&amp;gt;
    &amp;lt;widget...&amp;gt;
      [...]
    &amp;lt;/widget&amp;gt;
  &amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 15:15:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-hide-or-remove-the-title-quot-metadata-quot-from-the/m-p/328489#M15490</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-11-22T15:15:19Z</dc:date>
    </item>
  </channel>
</rss>

