Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 5884
1 vote
Accepted

How to restrict uploads to currently edited site

Oli Bon from Craft Support suggested to use {site.handle} when you define your field (not the volume), which have worked perfectly fine.
Lukigi's user avatar
  • 565
1 vote
1 answer
95 views

How to restrict uploads to currently edited site

I've tried /{{currentSite.handle}}/ but this uses current site handle, not the site I'm currently editing. Is there a way to dynamically set folder to currently edited site?
Lukigi's user avatar
  • 565
3 votes

Upload file size limits to 256MB

Apparently, Craft requires memory_limit to also be set to max value, so setting memory_limit in php.ini did solve my problem.
Lukigi's user avatar
  • 565
5 votes
2 answers
4k views

Upload file size limits to 256MB

On PHP side I have upload_max_filesize & post_max_size set to 1GB I've created a simple PHP script to test upload size and managed to upload 800MB file. … In Craft CMS config file I have: 'maxUploadFileSize' => 1073741824 Yet if I try to upload files larger than 256MB I get a modal message saying file size exceeds 256MB. …
Lukigi's user avatar
  • 565