Login
Login
Mike Macgirvin
Mike Macgirvin
Channel
About
Photos
Files
Calendar
Toggle System Apps
Communities
Directory
Help
Language
Legal
Search
Mike Macgirvin
Mike Macgirvin
Channel
About
Photos
Files
Calendar
Toggle System Apps
Communities
Directory
Help
Language
Legal
Search
Default file names
Visit
Poke
Streams
Sat, 25 Feb 2023 12:54:37 +1100
ray peaslee
wrote the following
post
Sat, 25 Feb 2023 12:54:34 +1100
Default file names
Is it possible to expand on the default folder names to include the day?
for example
2023-02-24
Would it cause compatibility issues?
Thanks
@
ray peaslee
Link to source
d7e5faec-4f97-494a-815b-587b1130cbb1
show all
4 comments
Visit
Poke
ray peaslee
Sat, 25 Feb 2023 13:02:18 +1100
oops, should have said default folder names....
Link to source
Visit
Poke
Mike Macgirvin
Sat, 25 Feb 2023 13:28:18 +1100
That's already supported - you can change it in your settings. '%d' is the option for current day. Or do you mean as a default for everybody?
Link to source
Visit
Poke
ray peaslee
Sat, 25 Feb 2023 13:53:10 +1100
@
mike
yeah, I was looking in the wrong spot. been testing using
include/attach.php
Couldn't really figure out what web-dav uses.
Link to source
Visit
Poke
Mike Macgirvin
Sat, 25 Feb 2023 14:32:36 +1100
web-dav doesn't need a default folder. Otherwise anything you upload goes through attach_store() at some point. This determines the default directory (creating it if necessary), and calls filepath_macro() to set the date elements.
Link to source
1 Like
ray peaslee (1 year ago)