Blog Sections Open
Using Multiple IF Conditions with ditto_iteration Without Empty Blocks
How to insert layout markup every third Ditto item without creating a broken extra wrapper when the total count divides evenly.
Loop-based layout helpers often work until the item count lands exactly on the divider. Then one extra empty block appears and the whole row structure breaks. This is a classic ditto_iteration edge case.
The fix is to make the condition aware of the final element count, not just the current iteration modulo value. In other words, do not inject the closing-and-opening wrapper after the last full group.
Whenever you build layout wrappers with iterator math, test counts like 3, 6, 9, and 12 explicitly. They expose markup bugs much faster than random data does.
Showing Newly Created Documents Immediately in Frontend Lists
Why a document created from a form may exist in the manager but still stay invisible on the site until one more save cycle happens.
Combining Friendly URLs with GET-Based Filters
How to keep friendly URLs readable while still passing filter values such as city or category through the request cleanly.