Štakor
Multiple Resources with different table query but tables appearance is not different
I created separate ListPages for active and archive with their own getTableQuery() , registered in getPages() and navigation items. Everything is wokring fine.
I tried to conditionally return tables in my table function based on path but as soon as I try to use pagination tables dissapear.
Can you please explain to me the last part you said: Define a custom table schema and query on them ?
25 replies
How do I change name and filename and preview before saving?
I mean previewing the change so the filename changes eg. like on my uploaded image above size, but if I can change the filename before the image appears then I dont't need to preview the change.
SpatieMediaLibraryFileUpload::make('Fajlovi')
->mediaName('New name')
->disk('images')
->collection('bicikli')
->enableReordering()
->multiple()
I added mediaName so it changes the name, but I also need to change the filename.3 replies