Skip to main content
replaced http://expressionengine.stackexchange.com/ with https://expressionengine.stackexchange.com/
Source Link

Be aware that the operator functionality was added as of EE v2.7.1. If you choose to use the switch method mentioned here, you actually need to handle it a bit differently to protect your loop from instances in which the number of entries you are loading does not divide evenly by the number of columns you are loading. The most effective way to do with is to add additional switch logic to close the row. You can see this in detail in another EESE post with my answer here:

Adding wrapper markup at intervals within loops (entries, matrix, playa, etc)Adding wrapper markup at intervals within loops (entries, matrix, playa, etc)

Be aware that the operator functionality was added as of EE v2.7.1. If you choose to use the switch method mentioned here, you actually need to handle it a bit differently to protect your loop from instances in which the number of entries you are loading does not divide evenly by the number of columns you are loading. The most effective way to do with is to add additional switch logic to close the row. You can see this in detail in another EESE post with my answer here:

Adding wrapper markup at intervals within loops (entries, matrix, playa, etc)

Be aware that the operator functionality was added as of EE v2.7.1. If you choose to use the switch method mentioned here, you actually need to handle it a bit differently to protect your loop from instances in which the number of entries you are loading does not divide evenly by the number of columns you are loading. The most effective way to do with is to add additional switch logic to close the row. You can see this in detail in another EESE post with my answer here:

Adding wrapper markup at intervals within loops (entries, matrix, playa, etc)

Source Link
Jean St-Amand
  • 3.7k
  • 1
  • 17
  • 19

Be aware that the operator functionality was added as of EE v2.7.1. If you choose to use the switch method mentioned here, you actually need to handle it a bit differently to protect your loop from instances in which the number of entries you are loading does not divide evenly by the number of columns you are loading. The most effective way to do with is to add additional switch logic to close the row. You can see this in detail in another EESE post with my answer here:

Adding wrapper markup at intervals within loops (entries, matrix, playa, etc)