Foros de discusión
Liferay Notification Portlet Customization
kartik shiroya, modificado hace 7 años.
Liferay Notification Portlet Customization
Junior Member Mensajes: 47 Fecha de incorporación: 29/12/14 Mensajes recientes
Hello,
I want customize liferay notification portlet which is available in tomcat bundle webapps folder while extract bundle(\liferay-portal-6.2-ee-sp14\tomcat-7.0.62\webapps\notifications-portlet)
but i want to do some customization like look and feel , add some content , remove some content , filter some notification and all things
So please suggest me how can we achieve this
Note : I am using liferay 6.2 EE
Thanks & Regards,
Kartik Shiroya
I want customize liferay notification portlet which is available in tomcat bundle webapps folder while extract bundle(\liferay-portal-6.2-ee-sp14\tomcat-7.0.62\webapps\notifications-portlet)
but i want to do some customization like look and feel , add some content , remove some content , filter some notification and all things
So please suggest me how can we achieve this
Note : I am using liferay 6.2 EE
Thanks & Regards,
Kartik Shiroya
Pankaj Kathiriya, modificado hace 7 años.
RE: Liferay Notification Portlet Customization
Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
kartik shiroya, modificado hace 7 años.
RE: Liferay Notification Portlet Customization
Junior Member Mensajes: 47 Fecha de incorporación: 29/12/14 Mensajes recientes
Thanks Pankaj bhai,
I'll follow this step..
Thanks a lot for reply.
Regards,
Kartik Shiroya
I'll follow this step..
Thanks a lot for reply.
Regards,
Kartik Shiroya
kartik shiroya, modificado hace 7 años.
RE: Liferay Notification Portlet Customization
Junior Member Mensajes: 47 Fecha de incorporación: 29/12/14 Mensajes recientes
I Pankaj,
I refer CREATING PLUGINS TO EXTEND PLUGINS blog from https://dev.liferay.com
As i mentioned i want to customized look and feel of notification portlet of liferay, till step 5 it's done and i didn't follow step 6 as i don't want to change any extending contains a service,
but when i click on notification porlet that time following error coming
javax.portlet.PortletException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
javax.portlet.PortletException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
at com.liferay.notifications.notifications.portlet.NotificationsPortlet.serveResource(NotificationsPortlet.java:197)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:122)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:82)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:116)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:112)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
..
..
..
..
.Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:125)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:104)
..
...
..
..
Caused by: java.sql.SQLException: Invalid object name 'Notifications_UserNotificationEvent'.
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)
..
Thanks in advance
Regards,
Kartik
I refer CREATING PLUGINS TO EXTEND PLUGINS blog from https://dev.liferay.com
As i mentioned i want to customized look and feel of notification portlet of liferay, till step 5 it's done and i didn't follow step 6 as i don't want to change any extending contains a service,
but when i click on notification porlet that time following error coming
javax.portlet.PortletException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
javax.portlet.PortletException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
at com.liferay.notifications.notifications.portlet.NotificationsPortlet.serveResource(NotificationsPortlet.java:197)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:122)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:82)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:116)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:112)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
..
..
..
..
.Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:125)
at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:104)
..
...
..
..
Caused by: java.sql.SQLException: Invalid object name 'Notifications_UserNotificationEvent'.
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)
..
Thanks in advance
Regards,
Kartik
Pankaj Kathiriya, modificado hace 7 años.
RE: Liferay Notification Portlet Customization
Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
Not sure what you have changed in code. But error says that you do not have table in data-base mapped to entity 'Notifications_UserNotificationEvent'.