Skip to content

Conversation

@JamesThanna
Copy link
Contributor

No description provided.

Copy link
Member

@sampoyigi sampoyigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this is a bit late.

Comment on lines +21 to +37
First Create your Extension
https://tastyigniter.com/docs/master/extend/extensions

Extension.php
```
public function extensionMeta()
{
return [
'name' => 'My Widget Extension',
'author' => 'Docs',
'description' => 'No description provided yet...',
'icon' => 'fa-plug',
'version' => '1.0.0'
];
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not required.


### Dashboard widget class
```use Admin\Classes\BaseDashboardWidget;
class ControllerPath extends BaseDashboardWidget
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a descriptive name.. QuickLinks?

{
$this->prepareVars();
return $this->makePartial('partials/quicklinks');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be quicklinks/quicklinks?



Inside
partials/myblade.blade.php
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here quicklinks/quicklinks.blade.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants