We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
トップページについて、コンテンツ管理で管理されているルーティングを上書きすることができない。 トップ以外は非公開にすれば問題ないが、トップは非公開にしてもコンテンツフォルダのルーティングが生きているため対応不能。
プラグイン読み込み順を変更し、ルーティングの優先順を変えたとしても、 \BaserCore\Plugin で、ルーティングのリセット処理が入っているため、適用できない。
\BaserCore\Plugin
baserCMS version : 5.0.14
The text was updated successfully, but these errors were encountered:
プラグインのroutesではなく直下のconfig/routes.phpに記載すればトップもルーティングが効きました。 https://github.com/baserproject/basercms/blob/5.1.x/config/routes.php
これでいい気がしますが、もしくはBcContentsRoute->parseで / へのルーティングが存在するかチェックして存在したらreturnするとかでしょうか。 https://github.com/baserproject/basercms/blob/5.1.x/plugins/baser-core/src/Routing/Route/BcContentsRoute.php#L42
Sorry, something went wrong.
@seto1 確認ありがとうございます。
プラグインのroutesではなく直下のconfig/routes.phpに記載すればトップもルーティングが効きました。
やっぱり一旦これで対応する感じですかねー プラグインから介入できないのが気持ち悪くて、なんかいい方法がないかなと思って もうちょっと置いておきます。
ryuring
No branches or pull requests
概要
トップページについて、コンテンツ管理で管理されているルーティングを上書きすることができない。
トップ以外は非公開にすれば問題ないが、トップは非公開にしてもコンテンツフォルダのルーティングが生きているため対応不能。
プラグイン読み込み順を変更し、ルーティングの優先順を変えたとしても、
\BaserCore\Plugin
で、ルーティングのリセット処理が入っているため、適用できない。baserCMS version : 5.0.14
The text was updated successfully, but these errors were encountered: