Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 4, 20178 yr 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?
April 4, 20178 yr Author 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.
April 4, 20178 yr 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.
Archived
This topic is now archived and is closed to further replies.