View more context


@Matt Cegielka Yeah, if it saves you writing one, there is a HTTP::absoluteURLs($html) method you can use

👍 (1)

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

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