-
Notifications
You must be signed in to change notification settings - Fork 648
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
ページ管理の編集対象に会員登録(確認ページ)を加える #4428 #4433
Conversation
TwigInitializeListenerで、ページを特定できず(入力画面か確認画面かの判別ができない)、レイアウトが適用されない場合がありました。 以下のように対応しています。
|
*/ | ||
final class Version20201127000000 extends AbstractMigration | ||
{ | ||
const NAME = 'dtb_page'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使っていない定数。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
削除しました
)"); | ||
|
||
$sortNo++; | ||
$this->addSql("INSERT INTO dtb_page_layout (page_id, layout_id, sort_no, discriminator_type) VALUES ($pageId, 2, , $sortNo, 'pagelayout')"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
syntax error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
修正しました
ページ管理の編集対象に会員登録(確認ページ)を加える #4428
dtb_page変更:
edit_typeに3を追加して確認ページとして利用します。
master_page_idは確認ページのIDに設定し、ページ登録時にURLチェックを除外します。
もし仕様問題がない場合はページ一覧のデザインが調整もお願いいたします。
以上、よろしくお願いいたします。