Foros de discusión
customize dock bar in liferay 6.2
Soukaina HAJI, modificado hace 9 años.
customize dock bar in liferay 6.2
Regular Member Mensajes: 195 Fecha de incorporación: 17/06/14 Mensajes recientes
I need to add some buttons in liferay's dock bar and Im not quite sure which jsp file is the one.
I added these buttons in `/html/taglib/aui/nav_item/end.jsp `
RESULT:
before authentication: dockbar is cool
after authentication: not cool
thank you
liferay-version: liferay-portal-6.2-ce-ga2
tomcat-version: tomcat-7.0.42
I added these buttons in `/html/taglib/aui/nav_item/end.jsp `
RESULT:
before authentication: dockbar is cool
after authentication: not cool
thank you
liferay-version: liferay-portal-6.2-ce-ga2
tomcat-version: tomcat-7.0.42
Pankaj Kathiriya, modificado hace 9 años.
RE: customize dock bar in liferay 6.2
Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientesI added these buttons in `/html/taglib/aui/nav_item/end.jsp `
This jsp renders aui:nav-item tag, when you add something to this jsp it will affect html fragment wherever aui:nav-item gets used thats why you are getting same buttons multiple time.
Instead that, you can add your extra button controls in jsp file at locaion portal-web\docroot\html\portlet\dockbar\view.jsp, where aui:nav and aui:nav-bar is used by overriding this jsp using hook.
Soukaina HAJI, modificado hace 9 años.
RE: customize dock bar in liferay 6.2
Regular Member Mensajes: 195 Fecha de incorporación: 17/06/14 Mensajes recientes
Ok but in view.jsp there is no list , i need need to insert the buttons in the list of the dock bar so as it can inherit the theme of the dockbar
thank you
thank you
Pankaj Kathiriya, modificado hace 9 años.
RE: customize dock bar in liferay 6.2
Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
As I said try to add buttons inside aui:nav-bar tag.
Soukaina HAJI, modificado hace 9 años.
RE: customize dock bar in liferay 6.2
Regular Member Mensajes: 195 Fecha de incorporación: 17/06/14 Mensajes recientes
Ok I inserted that at the end of aui:nav-bar tag but it shows in background like this !:
Soukaina HAJI, modificado hace 9 años.
RE: customize dock bar in liferay 6.2
Regular Member Mensajes: 195 Fecha de incorporación: 17/06/14 Mensajes recientes
Solution:
To modify before authentication like this :
File to edit : /html/dockbar/view_user_account.portal.jspf
To modify after authentication like this :
File to edit : /html/dockbar/view_admin_links.jspf
For the responsive Design Still working on it
Good Luck everyone
To modify before authentication like this :
File to edit : /html/dockbar/view_user_account.portal.jspf
To modify after authentication like this :
File to edit : /html/dockbar/view_admin_links.jspf
For the responsive Design Still working on it
Good Luck everyone
pramod kumara, modificado hace 6 años.
RE: customize dock bar in liferay 6.2
Junior Member Mensajes: 54 Fecha de incorporación: 29/08/16 Mensajes recientesSoukaina HAJI:
Solution:
To modify before authentication like this :
File to edit : /html/dockbar/view_user_account.portal.jspf
To modify after authentication like this :
File to edit : /html/dockbar/view_admin_links.jspf
For the responsive Design Still working on it
Good Luck everyone
you need to modify view_user_account.portal.jspf