Customize parsys for specific components | Community
Skip to main content
Himanshu_Singhal
New Participant
February 19, 2016
Solved

Customize parsys for specific components

  • February 19, 2016
  • 6 replies
  • 2243 views

Hi,

I've some components that can be dragged on a page using parsys. What I want is to restrict the parsys for some component only i.e only banner, carousel component can be dragged but teaser should not. 

Also, I don't to overlay parsys and make changes in jsp accordingly. So, can we do something in parsys or components so if we drag component(i.e teaser which we don't want to drag) displays message that this particular component can not be dragged.

 

Thanks,

Himanshu

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

narayanank84409
narayanank84409Accepted solution
New Participant
February 19, 2016
smacdonald2008
New Participant
February 19, 2016

What Praveen suggests is the proper way to perform this use case. Simply un-select the components from the group that you do not want to appear in sidekick. Now those components will not be displayed and cannot be dragged. 

Jitendra_S_Toma
New Participant
February 19, 2016

Hi Himanshu,

In my view, Your requirement does not seem reasonable. However, The objective of Parsys is to hold any type of components. It is a container. And, By restricting to specific components, In a way, we are changing the parsys behavior.

I would say, if the author knows that this or that parsys should contain this type of content then there is no point of restricting. Author can't say that I dropped this component despite knowing it. Even if the author does add the content, Author still has a chance to remove it.

--

Jitendra

edubey
New Participant
February 19, 2016

You can check/uncheck individual component in group (expand group in design mode dialog )in design mode

let me know if am understanding it wrong

Himanshu_Singhal
New Participant
February 19, 2016

But, I've 5 component sin the same group so all of them gets displayed in sidekick. And, out of 5, I want to make only 3 drag-gable. 

edubey
New Participant
February 19, 2016

Go to design mode 

Click on Edit for that parsys and select the component you want author should be able to add