Sunday 26 March 2017

Reorder Repeatable Structure Field Content



Reorder Repeatable Structure Field Content for Liferay

Current Problem:

Currently “Repeatable:true” enables content writers to add numerous content as per their requirements. The problem arises when you want to re-order these components while “Add or Remove” functions. 

As of now, users do not have this functionality and content editors face significant challenges to get things done rapidly.

Solution:

Reorder Repeatable Structure Field Content is an absolute solution that allows users to re-order content on the go.
Once added, this component allows users to modify and re-order content with UP and DOWN arrows to Add or Remove content fields as per their requirements. 

How to configure:
  • Step 1: Paste the War file in deploy folder on Tomcat Server  
  • Step 2: Add or Remove any repeatable component by click on (+) and (-) Button to add or remove any repeatable content. 
  • Step 3: You will be able to see Up and Down Arrow keys on the left side of (+) and (-) Button and you can move Up and Down any content by clicking them. 

Download component war file by click on below button

 





GitHub URL

https://github.com/knowarth-technologies/reorder-repeatable-structure-field.git














Thursday 2 February 2017

Web Content Structure Field Max Repeatable Component for Liferay



KA Structure Field Max Repeatable Component for Liferay

Download component war file by click on below button


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

KA 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
xml.validation.enabled=false  
Paste the War file in deploy folder on Tomcat Server
Set the value of “max repeatable” attribute on the repeatable field.




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.