Foros de discusión
Remove "Access these files offline using Liferay Sync"
Ryan Terwedo, modificado hace 11 años.
Remove "Access these files offline using Liferay Sync"
Junior Member Mensajes: 94 Fecha de incorporación: 31/10/08 Mensajes recientes
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 hace 11 años.
RE: Remove "Access these files offline using Liferay Sync"
Junior Member Mensajes: 85 Fecha de incorporación: 16/03/12 Mensajes recientes
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 hace 11 años.
RE: Remove "Access these files offline using Liferay Sync"
Junior Member Mensajes: 94 Fecha de incorporación: 31/10/08 Mensajes recientes
Thanks guys, will implement!
Hitoshi Ozawa, modificado hace 11 años.
RE: Remove "Access these files offline using Liferay Sync"
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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 hace 11 años.
RE: Remove "Access these files offline using Liferay Sync"
Junior Member Mensajes: 25 Fecha de incorporación: 4/05/12 Mensajes recientes
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 hace 11 años.
RE: Remove "Access these files offline using Liferay Sync"
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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 hace 8 años.
RE: Remove "Access these files offline using Liferay Sync"
Junior Member Mensajes: 54 Fecha de incorporación: 4/05/11 Mensajes recientes
Why not use
dl.show.liferay.sync.message=false
in portal-ext.properties
David H Nebinger, modificado hace 8 años.
RE: Remove "Access these files offline using Liferay Sync"
Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
Could be because this thread is over 3 years old and the property didn't exist when it started.