cancel
Showing results for 
Search instead for 
Did you mean: 

Disable login button in Public shared doc.

naveenv449
Confirmed Champ
Confirmed Champ
Dear all,
           I want to share an url to public where they can access the document without loging in. I got the url in the "Share" option of that particular document. but when i use this URL, the document is opening and also "Login" button is available in the same page. I want that login button to be disabled. Could any one help me please.
2 REPLIES 2

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

To do this you need to edit quickshare header page. i.e tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\quickshare\header.get.html.ftl either edit this file or place this file in tomcat\shared\classes\alfresco\web-extension\site-webscripts\org\alfresco\components\quickshare\header.get.html.ftl then edit to hide the div that shows login button.as below by applying style hidden

<div class="quickshare-header-right" style="display:none">
               <@markup id="linkButtons">
                  <#list linkButtons as linkButton>
                     <a href="${linkButton.href}" class="brand-button ${linkButton.cssClass!""}" tabindex="0">${linkButton.label?html}</a>
                  </#list>
               </@markup>
    </div>

Thank you for the reply.  Smiley Happy