Fórum
Add Page in sidebar
Charu Babbar, modificado 12 Anos atrás.
Add Page in sidebar
Regular Member Postagens: 167 Data de Entrada: 13/09/11 Postagens Recentes
Hi all,
I want to add the sidebar and in that sidebar i want add page option how can I do this?Plz help...
Thanks
With regards,
Charu
I want to add the sidebar and in that sidebar i want add page option how can I do this?Plz help...
Thanks
With regards,
Charu
Ravi Kumar Gupta, modificado 12 Anos atrás.
RE: Add Page in sidebar
Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
Depends on your theme design to have a sidebar. Thats just html
To get add page option, check the existing theme and js involved. JS is responsible for showing a textbox and button to create a page. Which on submit sends a request to create a page..
HTH
To get add page option, check the existing theme and js involved. JS is responsible for showing a textbox and button to create a page. Which on submit sends a request to create a page..
HTH
Charu Babbar, modificado 12 Anos atrás.
RE: Add Page in sidebar
Regular Member Postagens: 167 Data de Entrada: 13/09/11 Postagens Recentes
Hi Ravi,
I got the error of javascript:; after clicking on Add Page..How can I remove this?
Thanks,
With Regards,
Charu
I got the error of javascript:; after clicking on Add Page..How can I remove this?
Thanks,
With Regards,
Charu
Ravi Kumar Gupta, modificado 12 Anos atrás.
RE: Add Page in sidebar
Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
What is the exact error you are getting..??
Nagendra Kumar Busam, modificado 12 Anos atrás.
RE: Add Page in sidebar
Liferay Master Postagens: 678 Data de Entrada: 07/07/09 Postagens Recentes
Can you try below code, i didn't try though - you have to put this code in jsp have sidebar related code
<liferay-theme:defineobjects>
<%
Group group = null;
if (layout != null) {
group = layout.getGroup();
}
%>
<c:if test="<%= GroupPermissionUtil.contains(permissionChecker, scopeGroupId, ActionKeys.ADD_LAYOUT) && !group.isLayoutPrototype() %>">
<li class="first add-page">
<a href="javascript:;" id="addPage">
<liferay-ui:message key="page" />
</a>
</li>
</c:if></liferay-theme:defineobjects>