unclecheese / silverstripe-gridfield-betterbuttons

Adds new form actions and buttons to the GridField detail form
GNU General Public License v2.0
80 stars 88 forks source link

Problems with Silverstripe public folder #190

Open andreaslindahl opened 5 years ago

andreaslindahl commented 5 years ago

I'm getting broken images and failed loads of javascript files when using Silverstripes' public folder structure. For example, the admin tries to load the file http://[domain]/resources/betterbuttons/javascript/gridfield_betterbuttons.js, but this file does not exist in this location, but in the betterbuttons folder located at the project root, which isn't accessible, since it's on the same level as the public folder.

The same goes for http://[domain]/betterbuttons/images/prev.png, which of course fails, since there is not betterbuttons folder in the root of the public folder.