Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Adding default web content when new page or layout created
Hi All,
I am creating layout or page which is private using json API for every new site. Now I want to add web content display ( same in every page) on that page. Can I do it with API or is there any way of doing that please suggest. I am using liferay 6.2 ga 6.
Thanks in advance
I am creating layout or page which is private using json API for every new site. Now I want to add web content display ( same in every page) on that page. Can I do it with API or is there any way of doing that please suggest. I am using liferay 6.2 ga 6.
Thanks in advance
Hi,
You can create page template and add the webcontent there and then use the api to create page but make sure to use the page template id (I believe its called LayoutPrototype)
Regards,
Sandeep
You can create page template and add the webcontent there and then use the api to create page but make sure to use the page template id (I believe its called LayoutPrototype)
Regards,
Sandeep
Thanks sandip. I got your point.