掲示板

Overriding Dockbar using Adapter hook.

thumbnail
7年前 に Limbadri Bolishetty によって更新されました。

Overriding Dockbar using Adapter hook.

New Member 投稿: 13 参加年月日: 14/07/12 最新の投稿
Hi Friends,

I have an requirement overrinding dockbar(/html/portlet/dockbar/view.jsp) for particular organization so i overriden (/html/portlet/dockbar/view.jsp) using hook its working fine in portal level ,but i want this hook for particular oganizatin so configure in liferay-hook.xml <custom-jsp-global>false</custom-jsp-global> and i done configuration in site settings also.

But my modifications are not reflecting in my organization(which i configured adapter hook)

Note : If i removed <custom-jsp-global>false</custom-jsp-global> tag from liferay-hook.xml its working fine for all organization .
What i need to do work this hook for selected organization only ?

liferay-hook.xml
-----------------------
<?xml version="1.0"?>
<!DOCTYPE hook PUBLIC "-//Liferay//DTD Hook 6.2.0//EN" "http://www.liferay.com/dtd/liferay-hook_6_2_0.dtd">

<hook>
<custom-jsp-dir>/custom_jsps</custom-jsp-dir>
<custom-jsp-global>false</custom-jsp-global>
</hook>

/html/portlet/dockbar/view.jsp find attached file
thumbnail
7年前 に David H Nebinger によって更新されました。

RE: Overriding Dockbar using Adapter hook.

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Have you thought about just doing a <c:if /> test to surround the org-only content?