cancel
Showing results for 
Search instead for 
Did you mean: 

Hide title component - Alfresco logo still remains

dave984
Champ in-the-making
Champ in-the-making
Referring to Alfresco wiki and this article:
http://blogs.alfresco.com/wp/developer/2011/07/27/how-to-hide-content-on-an-existing-alfresco-share-...

I would remove the title component from the document's detail page. Here is my code:

<extension>
   <modules>
      <module>
         <id>Test - Document Details Page</id>
         <evaluator type="default.extensibility.evaluator"/>
         <components>
         <component>
            <scope>template</scope>
            <region-id>title</region-id>
            <source-id>document-details</source-id>
            <sub-components>
               <sub-component id="default">
                  <evaluations>
                     <evaluation id="guaranteedToHide">
                        <render>false</render>
                     </evaluation>
                  </evaluations>
               </sub-component>
            </sub-components>
         </component>           
         </components>
      </module>
   </modules>
</extension>


This code seems to work removing the title, but the Alfresco logo still remains…
Attached you will find a screenshot that explain how Alfresco now appears.
Have i modify the FTL of the title component to remove the Alfresco logo?
2 REPLIES 2

dave984
Champ in-the-making
Champ in-the-making
No one knows why i have this behaviour? please see the image attached to understand!
Is it a bug of Alfresco?! Quite strange…

dave984
Champ in-the-making
Champ in-the-making
Although i have not understood the reason for that behaviour i've solved inserting a CSS with this code:


.header .logo {
   visibility:hidden;   
}   

.logo-spacer {
   visibility:hidden;   
}