Structure Field Max repeatable component
Problem
Creating a structure with “repeatable: true”, it enables content writer to add numerous content box as per requirement. But what if you want to restrict the number of content box & restrict the content writer with a specific number of content box.
Solution
Max Repeatable component provides the solution. With this component added you get the new setting option “max repeatable” while creating structure and you can set the appropriate value for that.
How to Configure:
- Add following property to portal-ext.properties file and restart server
- Paste the War file in deploy folder on Tomcat Server
- Set the value of “max repeatable” attribute on the repeatable field of structure element.
So now while creating content if the content writer tries to add more components or content box component then specified value it will restrict the user and display an appropriate notification as shown in screen shot.
これを見た人が購入しているアプリ
- Liferay Fjo...
- Liferay, Inc.
-
- 無料
- Liferay Con...
- Liferay, Inc.
-
- EE版のみ
- Liferay CE ...
- Liferay, Inc.
-
- 無料
- Liferay Wes...
- Liferay, Inc.
-
- 無料