These are chat archives for locomotivecms/v3

Nov 2016
Matthieu Barthel
Nov 14 2016 08:41


I have an issue with editable_file when there isn't a file, here is my code :

{% capture url %}{% editable_file 'Photo 1', resize: '1200x>' %}{% endeditable_file %}{% endcapture %}

In development url is an empty string, on the engine it contains a broken url like 1

I am using wagon 2.1.1 and engine 3.1.1.

Is there a better way to check if the file exists or is it a bug ? Thank you for your help :-)

Matthieu Barthel
Nov 14 2016 11:45
I finally resolve my issue by testing my field this way: