Fórum

How to add tab in community portlet.

Srinath Reddy, modificado 12 Anos atrás.

How to add tab in community portlet.

New Member Postagens: 6 Data de Entrada: 18/05/11 Postagens Recentes
Hi All,
I like to add one more tab in My Community portlet along with the other tabs.
Thanks in Advance.
thumbnail
Rojalin Patri, modificado 12 Anos atrás.

RE: How to add tab in community portlet.

Expert Postagens: 287 Data de Entrada: 22/03/11 Postagens Recentes
Hi Srinath,
could you please clarify whether you want to add a new tab to the user's "my community public/private pages" just like "profile"and "Blogs"?if you want to do that then you can do it by clicking on "add pages" once you navigate to the community's private/public page.if you want add a new sub-navigation page just like "public pages/private pages" to the "my community" menu,then you have to add your code to tomcat-6.0.18/webapps/ROOT/html/taglib/ui/my_places/page.jsp page.
sorry if i haven't understood your query properly.
Srinath Reddy, modificado 12 Anos atrás.

RE: How to add tab in community portlet.

New Member Postagens: 6 Data de Entrada: 18/05/11 Postagens Recentes
Thank you for the info provided.
By default we can see three tabs in my communities i.e., Available communities,Communities i own,communities i have joined. Apart from these three i like to add one more tab to it.Can you help in this regard.
thumbnail
Dhrutika Parekh, modificado 12 Anos atrás.

RE: How to add tab in community portlet.

Expert Postagens: 435 Data de Entrada: 09/02/09 Postagens Recentes
Hi,
Refer view.jsp for this.Create a hook and extend view.jsp
You can add tab here:

               <c:when test="<%= showTabs1 %>">
			<liferay-ui:tabs names="communities-owned,communities-joined,available-communities" url="<%= portletURL.toString() %>" />
		</c:when>


Regards,
Dhrutika