cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic movement of content blocks or components

Former Member
0 Kudos

We have a requirement where the business wants to move the content blocks dynamically .i.e.they want to move them up and down by changing their position. I want to understand whether this is possible?We place the components in content slots which are predefined. Need your expert advice and suggestions on this.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Have a look at what this tag does:

/hybris/bin/ext-accelerator/acceleratorcms/src/de/hybris/platform/acceleratorcms/tags2/CMSContentSlotTag.java

It uses "cmsPageSlotComponentService" to retrieve the components in a certain slot.

So there is your entry point to research a solution.

I think that you could put some logic into the CmsPageSlotComponentService to determine the order of the components dynamically.