Skip to content

Commit

Permalink
👍 Live TV support
Browse files Browse the repository at this point in the history
  • Loading branch information
juzaweb committed Nov 4, 2023
1 parent 8097ab6 commit a72d0e8
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions src/MovieAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,21 @@ public function registerMovie(): void
]
);

/*HookAction::registerPostType(
'lives',
HookAction::registerPostType(
'live-tvs',
[
'label' => 'Live TVs',
'menu_position' => 12,
'menu_icon' => 'fa fa-film',
'supports' => ['tag'],
'metas' => [
'source_url' => [
'type' => 'text',
'label' => trans('Source URL'),
]
]
]
);*/
);
}

public function registerTaxonomies(): void
Expand Down Expand Up @@ -214,6 +220,17 @@ public function addSettingForm(): void
]
);

// $this->hookAction->registerSettingPage(
// 'mymo',
// [
// 'label' => trans('MyMo Setting'),
// 'menu' => [
// 'icon' => 'fa fa-cogs',
// 'parent' => 'setting',
// ]
// ]
// );

HookAction::addSettingForm(
'mymo',
[
Expand Down Expand Up @@ -353,7 +370,7 @@ public function addAjaxAdmin(): void
);
}

public function addVideoAdsType()
public function addVideoAdsType(): void
{
if (\Juzaweb\CMS\Support\HookAction::hasMacro('registerAdsPosition')) {
$this->hookAction->registerAdsPosition(
Expand Down

0 comments on commit a72d0e8

Please sign in to comment.