Lukigi
  • Member for 5 years, 2 months
  • Last seen this week
How to restrict uploads to currently edited site
Accepted answer
1 votes

Oli Bon from Craft Support suggested to use {site.handle} when you define your field (not the volume), which have worked perfectly fine.

View answer
Relating to Solspace Calendar Events
1 votes

After experimenting with syntax a bit I made it work, looks like it needs an id, but it doesn't work with the event as an object. So this works: {% set reviews = craft.entries.section('reviews')....

View answer
jQuery Validate with Charge plugin
Accepted answer
2 votes

Silly me, this has nothing to do with charge.js, one simply can't have a button with an id="submit" as weird things will happen - see this thread <input type="button" id="otherThanSubmit"> ...

View answer
Can't send emails
2 votes

Oh, just use settings->email and setup SMTP or POP3 account duh. I'll leave it here just in case someone is as forgetful as me.

View answer
Upload file size limits to 256MB
3 votes

Apparently, Craft requires memory_limit to also be set to max value, so setting memory_limit in php.ini did solve my problem.

View answer
Is there a way to programatically add a user when no one is logged in
2 votes

Oh well, totally forgot to allow anonymous access at the top of the controller. I guess I can leave this answer here in case somebody is as forgetful as me: protected $allowAnonymous = true;

View answer