SilverStripe: How to debug scope of template function call

From FVue
Jump to: navigation, search


Within a template a controller method is not being called - without any error message :-(. How can I find out on which object the method is being looked for.


  • SilverStripe-2.4.5


Add to the url (within the development environment):


This will show a profiler window with information about which methods are being called on which object classes. Now it's easy to see where your assumptions may be wrong; the profiler displays the scope in which the method is looked for.


blog comments powered by Disqus