[jboss-user] [JBoss Portal] - Re: Disabling Dashboards in Portal 2.6A
ThorntonD
do-not-reply at jboss.com
Sun Jul 15 20:44:05 EDT 2007
I would like to disable the dashboard with as few steps as possible. Ideally, it would be an option that could be disabled by a portal admin user. The next easiest thing I found to do is udpate the file
...\jboss-portal-2-6\server\default\deploy\jboss-portal.sar\portal-core.war\WEB-INF\jsp\header\header.jsp
and set
PortalURL dashboardURL = null;
PortalURL editDashboardURL = null;
PortalURL copyToDashboardURL = null;
To do some additional cleanup on the dashboard remove the DashboardConfigPortletInstance from the files
jboss-portal-2.6b\server\default\deploy\jboss-portal.sar\portal-admin.sar\META-INF\jboss-service.xml
jboss-portal-2.6b\server\default\deploy\jboss-portal.sar\portal-admin.sar\portal-admin.war\WEB-INF\portlet-instances.xml
If DashboardConfigPortletInstance exists in the admin Management Portlet/Portlet Instances then destroy it.
The above steps sufficiently mangle the dashboard so that it is not useful in the event the user tries to access it using a url.
Danny
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064392#4064392
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064392
More information about the jboss-user
mailing list