on 06-18-2015 3:38 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.