Version 5.0.0 beta 10
This commit is contained in:
1 parent
56979f8ee8
commit
264eeb97e0
325 files changed
+6442
-1849
No files matched your search
@@ -43,14 +43,11 @@ class {key} extends {class}
|
||||
*/
|
||||
public function init() : void
|
||||
{
|
||||
parent::init();
|
||||
|
||||
// Use this to perform any set up and to assign a template that is not in the following format:
|
||||
// $this->template( array( \IPS\Theme::i()->getTemplate( 'widgets', $this->app, 'front' ), $this->key ) );
|
||||
// If you are creating a plugin, uncomment this line:
|
||||
// $this->template( array( \IPS\Theme::i()->getTemplate( 'plugins', 'core', 'global' ), $this->key ) );
|
||||
// And then create your template at located at plugins/<your plugin>/dev/html/{key}.phtml
|
||||
|
||||
|
||||
parent::init();
|
||||
// Note: parent::init() will set a default template, so make sure your template is defined after the parent is called.
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user