Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想以编程方式创建可扩展的页面模板(不是布局模板),例如博客或内容显示页面模板。
我怎样才能得到这个?
Create LayoutPrototype and set a Layout with defined portlets, thats all.
LayoutPrototype
Layout
See Liferay source for creating a Blogs-, CMS-Template: com.liferay.portal.events.AddDefaultLayoutPrototypesAction
com.liferay.portal.events.AddDefaultLayoutPrototypesAction