I'm trying to figure out how phpwcms contentpart sections are ordered.
I'm using two Bootstrap custom sections and all CPs are wrapped in the right container, but one (the orange one) is in the wrong order and I can't figure it out why.
It should be possible to save the order at that point and use it when Tabs get rendered, but I can't see how right now (without introducing more head spinning helper arrays)
This is a bit of a bummer, since there is no straight forward way to move groups of CP's (.row>.col-4+.col-4+.col+4) in the content area around :/
I'm trying to figure out how phpwcms contentpart sections are ordered.
I'm using two Bootstrap custom sections and all CPs are wrapped in the right container, but one (the orange one) is in the wrong order and I can't figure it out why.
I tried to understand this portion of the code https://github.com/slackero/phpwcms/blob/master/include/inc_front/content.article.inc.php#L659 , but the arrays let my head spin.
Is this a bug or a feature?It looks like one can't mix custom wrappers and maintain the order, since wrapper type gets grouped here: https://github.com/slackero/phpwcms/blob/master/include/inc_front/content.article.inc.php#L675
It should be possible to save the order at that point and use it when Tabs get rendered, but I can't see how right now (without introducing more head spinning helper arrays)
This is a bit of a bummer, since there is no straight forward way to move groups of CP's (.row>.col-4+.col-4+.col+4) in the content area around :/