Message of the day:
Welcome to Silverstripe | Current release: https://www.silverstripe.org/download | Community Forum: https://forum.silverstripe.org | Feature requests: https://forum.silverstripe.org/c/feature-ideas
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
Does anyone know how to set a CORS-Header on the silverstripe 4 restfulserver? In the silverstripe 3 module, there was a configuration for that...
@wmk Found it out 🙂 Thought "After" in the YML meant what it should be loaded after 😄
@wmk in the YML file. Should i refernce the folder name, like this: modulename/* or how should it reference the other module?
@wmk it is a new project and i will check fluent. thanx so far!
@meldgaard make sure, your module modifies the cmsfiels after the other module. Should be possible if you tell your config.yml to be run after the other module. Hopefully... If it doesn't work, you can subclass the module's class and use injector to use your class instead
Is it a new project or do you upgrade an existing site with translatable?
@deschebbs hmm, translatable.. It's deprecated in 4.x, you should use fluent.
@deschebbs if you start with a blank composer.json you need to tell it what you "require" for your project. Then composer installs it. A shortcut would be
composer create-project vendor/package ./path/to/project-root, I personally don't like that so much, dunno why
other question: does translatable work with silverstripe 4.2.1 or do i have to install 4.0 if i want to use it?
Hi. Im building a module that add's new functionality to another module. The base module add's an GridField where users can edit the content of this gridfield. I need to remove/hide this Gridfield, as im moving this functionality over into a different ModelAdmin. I have tried to use an dataextension with removebyname, but it's not working. The gridfield from the module thats inserted is also inserted via an Dataextension.