03-06-2012 09:31 AM
Is it possible to disable the adding gadgets button in the dashboard? I tried to search some extension point, but I found nothing about it...
03-06-2012 10:12 AM
Hi,
Those actions are currently defined in the xhtml template. To override it and remove the Add gagdet
action, you need to override the user_opensocial_dashboard.xhtml
template in nuxeo.war/incl/dashboard/
in your own bundle and remove the following line:
<a id="addGadgetButton" href="#{baseURL}site/gadgets?language=#{localeSelector.language}">#{messages['label.opensocial.container.add.gadget']}</a>
03-07-2012 04:11 AM
The localization is exactly that.
03-07-2012 05:47 AM
can you
03-07-2012 06:17 AM
Ok, I tried... but nothing happens. The dashboard page returns an error (it does not find the template) and in nxserver/nuxeo.war/incl/dashboard/ there isn't my .xhtml ...
03-07-2012 12:32 PM
Ok so your problem is in your project definition somewhere. The predeployment instruction described in deployment-fragment.xml are not executed.
03-08-2012 04:29 AM
I performed all of the steps and chacked the rest, but nothing happens...
03-08-2012 03:05 PM
No relation, not.
03-08-2012 03:13 PM
Can you tell us a bit more information about this Nuxeo instance that doesn't deploy your ?
03-09-2012 11:44 AM
It's a nuxeo-5.5-tomcat distribution, I have started the server and configured it with postgreSQL, as I previously said. The rest is a standard configuration. It deployed my other bundles, even the ones with other templates...but not this ones...quite absurd!
03-09-2012 11:49 AM
Did you install he Document Management module?
03-09-2012 03:23 PM
Ok deployment-fragment must be in OSGI-INF directory. Can you test that?
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.