Ryan Currie Posted April 4, 2017 Share Posted April 4, 2017 So, it appears I am missing a template when trying to view a container node: BadMethodCallException: NO_TEMPLATE_FILE - /Users/ryan/Code/Sites/thegaminglist/applications/core/dev/html/front/trees/row.phtml (0) This file does not exist in the developer sdk for 4.1.19.1 (latest). Am I missing something? Link to comment Share on other sites More sharing options...
Adriano Faria Posted April 4, 2017 Share Posted April 4, 2017 trees/row is from Admin CP, not front-end. Link to comment Share on other sites More sharing options...
Ryan Currie Posted April 4, 2017 Author Share Posted April 4, 2017 This is being generated automatically from a class that just extends: \IPS\Node\Controller class _categories extends \IPS\Node\Controller { protected $nodeClass = 'IPS\gamelist\Category'; } So I am unsure of why it is not adding the proper template paths. This is for a category based view for an app I am working on. Nevermind, didn't read this little part: Quote When creating admin controllers designed to work with a particular node model (for example, the forum manager screen in the Forums app), IPS4 provides a special node controller you can extend to get a lot of automatic functionality, instead of building it yourself manually. Link to comment Share on other sites More sharing options...
Adriano Faria Posted April 4, 2017 Share Posted April 4, 2017 Yeah, that's right. Categories are supposed to work on ACP only. Make a copy of the template and place it in same path on front folder; should work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.