Fórum
Remove "Access these files offline using Liferay Sync"
Ryan Terwedo, modificado 12 Anos atrás.
Remove "Access these files offline using Liferay Sync"
Junior Member Postagens: 94 Data de Entrada: 31/10/08 Postagens Recentes
Anyone know how to remove this little blue box from doc lib?
1) I don't want my users installing software
2) We can't change the sync tool yet to even do things like change the help or contact info
-A user won't know who liferay is
-It will be confusing from a branding standpoint, because liferay will not answer a end users questions
3) I can't support this right now
Help! =)
Ryan
1) I don't want my users installing software
2) We can't change the sync tool yet to even do things like change the help or contact info
-A user won't know who liferay is
-It will be confusing from a branding standpoint, because liferay will not answer a end users questions
3) I can't support this right now
Help! =)
Ryan
André Bunse, modificado 12 Anos atrás.
RE: Remove "Access these files offline using Liferay Sync"
Junior Member Postagens: 85 Data de Entrada: 16/03/12 Postagens Recentes
Hi Ryan,
an easy way is to modify the file "%TOMCAT_HOME%\webapps\ROOT\html\themes\control_panel\js\main.js".
insert in method "_renderUI" (352ff for Liferay 6.1)
this works for me
EDIT:
another way was to modify "%TOMCAT_HOME%\webapps\ROOT\html\portlet\document_library\css\main.css"
and add "display: none;"
Second way is better, cause with way one the user see the message disappear
HTH
André
an easy way is to modify the file "%TOMCAT_HOME%\webapps\ROOT\html\themes\control_panel\js\main.js".
insert in method "_renderUI" (352ff for Liferay 6.1)
var syncNotification = A.one('.sync-notification');
syncNotification && syncNotification.hide();
this works for me
EDIT:
another way was to modify "%TOMCAT_HOME%\webapps\ROOT\html\portlet\document_library\css\main.css"
and add "display: none;"
.sync-notification {
display: none;
border-top-width: 1px;
}
Second way is better, cause with way one the user see the message disappear
HTH
André
Ryan Terwedo, modificado 12 Anos atrás.
RE: Remove "Access these files offline using Liferay Sync"
Junior Member Postagens: 94 Data de Entrada: 31/10/08 Postagens Recentes
Thanks guys, will implement!
Hitoshi Ozawa, modificado 12 Anos atrás.
RE: Remove "Access these files offline using Liferay Sync"
Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
It's possible to just blank out the message in language_xx.properties, but that'll leave an empty space.
I think I've answered this question before. I think I justed deleted lines #223 through 229 in tomcat-7.0.23\webapps\ROOT\html\portlet\document_library\view_entries.jsp
<div class="portlet-msg-info sync-notification">
<a href="http://www.liferay.com/products/liferay-sync" target="_blank">
<liferay-ui:message key="access-these-files-offline-using-liferay-sync" />
</a>
</div>
</c:when>
I think I've answered this question before. I think I justed deleted lines #223 through 229 in tomcat-7.0.23\webapps\ROOT\html\portlet\document_library\view_entries.jsp
<div class="portlet-msg-info sync-notification">
<a href="http://www.liferay.com/products/liferay-sync" target="_blank">
<liferay-ui:message key="access-these-files-offline-using-liferay-sync" />
</a>
</div>
</c:when>
Brian Cohen, modificado 11 Anos atrás.
RE: Remove "Access these files offline using Liferay Sync"
Junior Member Postagens: 25 Data de Entrada: 04/05/12 Postagens Recentes
do we need to remove both the opening and closing
So do we remove completely (or comment out) the following:
Or only remove the div class?
Sorry, I am a novice at JSP
? So do we remove completely (or comment out) the following:
<c:when test="<%= System.currentTimeMillis() > 1328126400000L %>">
<div class="portlet-msg-info sync-notification">
<a href="http://www.liferay.com/products/liferay-sync" target="_blank">
<liferay-ui:message key="access-these-files-offline-using-liferay-sync" />
</a>
</div>
</c:when>
Or only remove the div class?
Sorry, I am a novice at JSP
Hitoshi Ozawa, modificado 11 Anos atrás.
RE: Remove "Access these files offline using Liferay Sync"
Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Yes, remove the entire <c:when ...> block and the line number was actually #199 through #205
<c:when test="<%= System.currentTimeMillis() > 1328126400000L %>">
<div class="portlet-msg-info sync-notification">
<a href="http://www.liferay.com/products/liferay-sync" target="_blank">
<liferay-ui:message key="access-these-files-offline-using-liferay-sync" />
</a>
</div>
</c:when>
Brett Lewinski, modificado 8 Anos atrás.
RE: Remove "Access these files offline using Liferay Sync"
Junior Member Postagens: 54 Data de Entrada: 04/05/11 Postagens Recentes
Why not use
dl.show.liferay.sync.message=false
in portal-ext.properties
David H Nebinger, modificado 8 Anos atrás.
RE: Remove "Access these files offline using Liferay Sync"
Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Could be because this thread is over 3 years old and the property didn't exist when it started.