You are here
View more context
@Matt Cegielka Yeah, if it saves you writing one, there is a HTTP::absoluteURLs($html) method you can use
If I could +1000 that I would. Exactly what I'm looking for
That’s what the email classes use to ensure absolute URLs for pages/images
Yeah, that's perfect
And just like that, everything works
For a recognized module, do you need at least one yaml file in the _config dir or can you just have an empty _config dir?
I don't think it's still a requirement… at least not for modules you install with composer and that are declared as silverstripe-vendormodule
An empty _config dir should be enough though for a module that isn't installed via composer
This would be a custom submodule. Thanks
https://docs.silverstripe.org/en/4/getting_started/composer/#composer-managed-modules-git-and-gitignore Is the SSAutoGitIgnore package useful in SS4 since all the vendor modules live in the vendor folder now?