- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 10:47 AM
I tried this way..I modified user_opensocial_dashboard in my bundle, and bind it to the dashboard button with this component
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 11:06 AM
You just need to override the template in your bundle and put the following require
in your deployment-fragment.xml
to be sure that your template will be deployed after the default one in Nuxeo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 11:41 AM
It does not want to work even in this way
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 12:21 PM
Any error in your server logs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 12:32 PM
No error in server log, but the file is not deployed...I'm going mad, this is a nonsense!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 12:49 PM
Is there anything in nxserver/nuxeo.war/incl/dashboard/
? There should be at least the default xhtml templates of Nuxeo regarding the Dashboard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 12:50 PM
Yes,there are the standard templates... the standard user_opensocial_dashboard.xhtml, but not mine...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 01:24 PM
Can you give us the localization into the eclipse project of this xhtml file?
