Fórum
customize dock bar in liferay 6.2
Soukaina HAJI, modificado 9 Anos atrás.
customize dock bar in liferay 6.2
Regular Member Postagens: 195 Data de Entrada: 17/06/14 Postagens Recentes
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 9 Anos atrás.
RE: customize dock bar in liferay 6.2
Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens RecentesI 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 9 Anos atrás.
RE: customize dock bar in liferay 6.2
Regular Member Postagens: 195 Data de Entrada: 17/06/14 Postagens Recentes
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 9 Anos atrás.
RE: customize dock bar in liferay 6.2
Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
As I said try to add buttons inside aui:nav-bar tag.
Soukaina HAJI, modificado 9 Anos atrás.
RE: customize dock bar in liferay 6.2
Regular Member Postagens: 195 Data de Entrada: 17/06/14 Postagens Recentes
Ok I inserted that at the end of aui:nav-bar tag but it shows in background like this !:
Soukaina HAJI, modificado 9 Anos atrás.
RE: customize dock bar in liferay 6.2
Regular Member Postagens: 195 Data de Entrada: 17/06/14 Postagens Recentes
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 6 Anos atrás.
RE: customize dock bar in liferay 6.2
Junior Member Postagens: 54 Data de Entrada: 29/08/16 Postagens RecentesSoukaina 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