arambalakjian / DataObject-as-Page

A SilverStripe module for displaying DataObjects as Pages
53 stars 27 forks source link

Strange behaviour #54

Closed JStika closed 9 years ago

JStika commented 10 years ago

Hi,

I detected strange behaviour of DOAP. When I create my classes under /mysite/Training, it does work, but when I create under site root "/Training" (as /cms,/framework) does not work. Why?

dhensby commented 9 years ago

@JStika If you're creating the folder in the webroot as per the framework docs then you need to do a ?flush and the new classes will be picked up and work as expected.

Closing as I don't believe there is any bug about classes having to be in mysite