View more context

 

Aaron Cooper

https://github.com/Cyber-Duck/Silverstripe-LinkItemField/blob/master/composer.json

Show 1 attachment(s)
GitHub  
Cyber-Duck/Silverstripe-LinkItemField

SilverStripe 4 custom form element and model for anchor, email, telephone, file, image, internal and external links - Cyber-Duck/Silverstripe-LinkItemField

Hide attachment content
Ramon Lapenta

Yeah but at the moment, if I install it in a 4.4 project I get an error

Ramon Lapenta

Because the rest of the project uses _resources and the module uses resources

Aaron Cooper

Oh that will probably due to hard coded references to "resources" instead of "_resources". Like in the file you just linked

Aaron Cooper

Change those (and any others you can find), dev/build and try again.

Ramon Lapenta

Yeah, I can do that but I’d like to know if there’s a way to make the module respect the projects setting instead of the hard coded option

Aaron Cooper

Well it sounds like it is and your system is set up to put assets in _resources.