Foren

Web Form Portlet embedded in Theme

thumbnail
Amruta Naidu, geändert vor 10 Jahren.

Web Form Portlet embedded in Theme

New Member Beiträge: 12 Beitrittsdatum: 24.04.13 Neueste Beiträge
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, geändert vor 10 Jahren.

RE: Web Form Portlet embedded in Theme

New Member Beiträge: 18 Beitrittsdatum: 19.03.12 Neueste Beiträge
Hello,

I am facing this same issue.

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

Thanks.