Fórum
how can i remove the calendar from control panel
Life Ray, modificado 14 Anos atrás.
how can i remove the calendar from control panel
New Member Postagens: 13 Data de Entrada: 14/10/08 Postagens Recentes
hi there,
i would like to use the calendar portlet in my own page but not as an entry within the control panel. therefor i did the following within the ext environment. i modified the liferay-portlet-ext.xml.
1. I remove the following entry from liferay-portlet-ext.xml:
2. I copied this into the liferay-portlet-ext.xml - uncomment the control-panel-entry-xxx elements.
After deploying the ext again I still have a calendar entry within my control panel. What did I wrong?
Thx for help.
i would like to use the calendar portlet in my own page but not as an entry within the control panel. therefor i did the following within the ext environment. i modified the liferay-portlet-ext.xml.
1. I remove the following entry from liferay-portlet-ext.xml:
<portlet>
<portlet-name>8</portlet-name>
<struts-path>calendar</struts-path>
<include>true</include>
</portlet>
2. I copied this into the liferay-portlet-ext.xml - uncomment the control-panel-entry-xxx elements.
<portlet>
<portlet-name>8</portlet-name>
<icon>/html/icons/calendar.png</icon>
<struts-path>calendar</struts-path>
<configuration-action-class>com.liferay.portlet.calendar.action.ConfigurationActionImpl</configuration-action-class>
<scheduler-class>com.liferay.portlet.calendar.job.CalendarScheduler</scheduler-class>
<portlet-data-handler-class>com.liferay.portlet.calendar.lar.CalendarPortletDataHandlerImpl</portlet-data-handler-class>
<social-activity-interpreter-class>com.liferay.portlet.calendar.social.CalendarActivityInterpreter</social-activity-interpreter-class>
[b]<!-- <control-panel-entry-category>content</control-panel-entry-category>-->
<!-- <control-panel-entry-weight>5.0</control-panel-entry-weight> -->[/b]
<preferences-unique-per-layout>false</preferences-unique-per-layout>
<use-default-template>false</use-default-template>
<show-portlet-access-denied>true</show-portlet-access-denied>
<show-portlet-inactive>true</show-portlet-inactive>
<restore-current-view>false</restore-current-view>
<scopeable>true</scopeable>
<private-request-attributes>false</private-request-attributes>
<private-session-attributes>false</private-session-attributes>
<render-weight>50</render-weight>
<header-portlet-css>/html/portlet/calendar/css.jsp</header-portlet-css>
<css-class-wrapper>portlet-calendar</css-class-wrapper>
</portlet>
After deploying the ext again I still have a calendar entry within my control panel. What did I wrong?
Thx for help.