• Hello,
    in a loop i need 6 items
    [loop type=moto count=6 ] and i get 6 items.

    But if i filter the loop content for items with a flagged checkbox
    [loop type=moto checkbox=homepage value=Yes count=6 ]
    I obtain 5 items, not 6 with YES flag in checkbox.

    How to do this in order to have 6 items with no flag?

    • This topic was modified 4 years, 7 months ago by dizplay.
Viewing 4 replies - 1 through 4 (of 4 total)
  • have you checked if you actually got those 6 items? Try to clone post which displays and check if the problem is only in lack of items
    Also try
    [loop type=moto checkbox=homepage value=true count=6 ]

    • This reply was modified 4 years, 7 months ago by signale.

    Though I checked, value actually is correct like you set

    Thread Starter dizplay

    (@dizplay)

    Hello,
    yes I have enough items.
    One slot is empty because of the one item non-flagged.
    I don’t know why.

    Because you are looping for all elements and then limit to those with checkbox.
    You need to add the checkbox field to the loop to get the six elements you like to get.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Filtered total count’ is closed to new replies.