留言板

Web Form Portlet embedded in Theme

thumbnail
Amruta Naidu,修改在10 年前。

Web Form Portlet embedded in Theme

New Member 帖子: 12 加入日期: 13-4-24 最近的帖子
Hi all.....

I have created a theme with a web form portlet embedded in it.
Using following code:
$velocityPortletPreferences.setValue("portlet-setup-show-borders", "false")
$theme.runtime("1_WAR_webformportlet", "", $velocityPortletPreferences.toString())
$velocityPortletPreferences.reset()

I have made the web form portlet non instanceable by changing the liferay-portlet.xml file.

Now the web form is displayed on theme load but only one field and send button is shown.
If i add a new web form portlet from the tools category then its displaying the full web form portlet with all the fields,
i dont want two web forms on my page , that is the reason i made it non instanceable.
Please can anyone help me out with this.

I simply want the web form portlet embede in theme and to display all its fields.

Thanks....
OgbaOghene Ozoro,修改在10 年前。

RE: Web Form Portlet embedded in Theme

New Member 帖子: 18 加入日期: 12-3-19 最近的帖子
Hello,

I am facing this same issue.

Please, did you find a workaround? Cheers, would really appreciate any help on this.

Thanks.