Jump to content

Missing templates in dev?


Ryan Currie

Recommended Posts

Posted

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?

Posted

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. 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...