To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #435 (accepted enhancement)

Opened 20 months ago

Last modified 7 months ago

aSlideshowSlot - Limit the number of items that can be selected

Reported by: johnnyoffline Owned by: tboutell
Priority: major Milestone: 1.5.2
Component: apostrophePlugin Version: trunk
Keywords: slots, areas, options Cc: rickybanister, jake, geoffd, agilbert, dordille, johnnyoffline, boutell
Symfony version: 1.4

Description (last modified by johnnyoffline) (diff)

If this is an easy thing to impose, it would be nice to have this as a slot option.

a_slot('some-slot', 'aSlideshow', array('maxItems' => 10, 'minItems' => 3));

"I need exactly three images for this thing here, no more no less, make ur time"

Change History

Changed 20 months ago by boutell

  • status changed from new to accepted

The "no more no less" thing is a great Schoolhouse Rock reference but I assume you do mean max, as in selecting less than 10 is fine

Changed 20 months ago by johnnyoffline

I think limiting makes sense.

If we ever get to a point where we need to require a minimum amount we will address that at the project level.

No reason to build it if we're not using it.

Changed 18 months ago by stereoscott

FYI: I think this is a duplicate of #25.

Changed 18 months ago by johnnyoffline

This is a duplicate of #25.

I like this ticket better, so I will close #25.

Changed 17 months ago by tboutell

  • owner changed from boutell to tboutell

Changed 7 months ago by efelo

I think there is a reason to build both because when you change it to have a max it whould not be a big thing to also include a min. Better two have both options soon than to come back to this ponit in future when than someone wants to have also a min value.

Changed 7 months ago by johnnyoffline

  • description modified (diff)
Note: See TracTickets for help on using tickets.