SilverStripe not saving page content

First time dealing with Silverstripe. I’m on MacOS and installed MAMP, and installed composer and ran the command composer create-project silverstripe/installer example Originally navigated to htttp://localhost:8888/example and was given an error message that it was missing a .env So I added this: ## Environment {#environment} SS_ENVIRONMENT_TYPE=”dev” ## Database {#database} SS_DATABASE_CHOOSE_NAME=”true” SS_DATABASE_CLASS=”MySQLDatabase” SS_DATABASE_USERNAME=”root” SS_DATABASE_PASSWORD=”root” SS_DATABASE_SERVER=”localhost” SS_DEFAULT_ADMIN_USERNAME=”admin”…

Details

javascript how to keep an input never disabled?

I have an input field <input> with id my-field to which some plugin adds the attribute disabled=”disabled” after the first escape. This is a problem so i’m trying to keep that disabled attribute away from it with the code below: var input = document.getElementById(“my-field”); document.addEventListener(“change”, “my-field”, function(){ setTimeout(function() { input.disabled = “false”; }, 50) });…

Details

Workaround for modules’ dependency on Terraform 0.11 does not work

I am trying to create an implicit module dependency in my main.tf, so that jenkins module is created after kube module. module “jenkins” { install_jenkins = “${var.install_jenkins}” env_name = “${var.env_name}” source = “../../../../modules-terraform/jenkins_module” sync_var = “${module.kube.cluster_name}” } module “kube” { source = “../../../../modules-terraform/kube_module” cluster_count = “${var.gke_cluster_create}” } So I have created the (not otherwise needed)…

Details

Multiple dynamic HTML parameters in Vue

i want to assign an array of params and values to an html container like in this example: let myParams = [‘param1’, ‘param2’, ‘param2]; let myValues = [‘val1’, ‘val2’, ‘val3’]; <div :[myParams]=”myValue”></div> The ouptput should be: <div param1=”val1″ param2=”val2″ param3=val3″></div> Would be great if anyone of you knows a solution for this one. Best regards!

Details