Thanks for the quick reply. My objective was the lazy approach and your
quick reply was faster than me trying it. I'll continue using jQuery ui /
sortable.
I wish creating a grid view for inlines was a relatively easy job. But I
don't have time for tackle that one. I am sure some would find a toggle to
grid inline useful, as galleries can have 100 + images for one gallery.
Drag sorting that many images is much easier in a grid format versus a long
row of images.
On Friday, September 15, 2017 at 8:57:17 AM UTC-7, Eduardo Rivas wrote:
>
> I don't think so. The Orderable abstract model is designed for inlines
> only, and the {% editable %} template tag doesn't support that.
> On 2017-09-15 9:55 AM, Matt Mansour wrote:
>
> Hi All -
>
> I am looking to create a page of images that are both sortable and in a
> grid format - instead of each image stacked in rows like in the admin
> inlines.
>
> I am digging into jQuery's sortable and breaking apart how it's used in
> Mezzanine. I am making progress but I am curious if I could achieve the
> sorting I am looking for by simply wrapping a list of images in an
> editable template tag? Something like
>
> {% editable page.sort_images %}
>
> Code to render list of images to be sorted
>
> {% endeditable %}
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.