View more context

 

nils

(if the actual file content is different)

nils

Because the actual filename on disk is using the original filename and not appending the -v2 part

martimiz

Hi all, would it be possible to have the HTMLEditorField Image-button open a specific folder based on what page I’m on?

martimiz

I used to have a script for that in ss3, but that no longer works…

nils

Ah, it only happens if someone resize a file but keep the same filename. Tries to save a variant instead of a renamed file or something...

nils

How can I get the filename including the -v4.jpg bit before I use setFromLocalFile()? As long as the filename isn't the same as the original file everything seems to be fine.

Wilson S

Hi everyone, could anyone point me to an example of TreeMultiselectField

Wilson S

I’m converting an old 2.x site and need to fill TreeMultiselectField with SiteTree

taoceanz

In a .env file, to my understanding, it's possible to set a ss variable to an existing environment var via back ticks like:

  1. SS_DATABASE_NAME="`ENV_DATABASE_NAME`"

Is it possible to combine a string with an environment var like:

  1. SS_DATABASE_NAME="CUSTOM_`ENV_DATABASE_NAME`"