Answer the question
In order to leave comments, you need to log in
How to create your own methods in sleeping owl?
how to create your own template in sleeping owl to display elements of a certain class, and your own methods for processing requests?
well, i.e. for example, I need to display a photo album and give the option to sort the photos in that album. making sort fields on all photos and changing them manually is too dreary, there can be 200 photos in an album, and you need to keep their order.
Thus, you need to display an object of class Album and a list of Photo objects belonging to this album.
I made the admin panel for this manually, and there, using jquery sortable and ajax, I sorted the photos and sent their order to the server. but how to implement this in sleepingowl, I have not found yet
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question