It looks like you're new here. If you want to get involved, click one of these buttons!
Hi John, by the way, i want to know if it is possible to modify the existing gallery in the dynamic objekts table. I want to get a sortable gallery by headlines or words or whatever.
Can you give me a hint.
If you want to add a custom sorting method to the gallery, you would need to modify a few places:
filemanager_gallery_order() in apps/filemanager/lib/Functions.php adds it to the options in the Dynamic Objects dialog.
filemanager_sort_mtime_asc() and filemanager_sort_mtime_desc() in the same file are two of the built-in sorting methods. Add a new function under these for your custom sorting method.
You would also have to edit the // sorting order section of apps/filemanager/handlers/gallery.php starting at line 71 to call your new sorting method function.
// sorting order
Let me know if that helps.