Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ViewEventListenerにて管理画面だと header, footer などのイベントが発生しない #3021

Closed
kaburk opened this issue Jan 10, 2024 · 1 comment
Assignees
Labels
Todo 実行確定タスク

Comments

@kaburk
Copy link
Collaborator

kaburk commented Jan 10, 2024

概要

管理画面のレイアウト
plugins/bc-admin-third/templates/Admin/layout/default.php
を確認すると、

$this->BcBaser->element('header')
this->fetch('content')
$this->BcBaser->element('footer')

となっているので、BcBaserヘルパーの関数内でイベント発火しているので、

$this->BcBaser->header()
$this->BcBaser->content()
$this->BcBaser->footer()

を使うようにすると良さそうです。

baserCMS version : 5.0.7

@ryuring
Copy link
Collaborator

ryuring commented Jan 12, 2024

@kaburk なるほど、その方向でお願いします!

@ryuring ryuring added the Todo 実行確定タスク label Jan 12, 2024
kaburk added a commit to kaburk/basercms that referenced this issue Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Todo 実行確定タスク
Projects
None yet
Development

No branches or pull requests

2 participants