ページを新規作成後、ページテンプレートを変更しても反映されない

2021年4月29日 at 1:02

ページを新規作成後、ページテンプレートを変更しても反映されない

一覧ページの生成時や修正時に、一覧の表示をリスト形式にするかサムネイルグリッド形式にするかを簡単に選択できるようにしたくて、下記のように設定しました。

1.「お知らせ一覧」というページタイプを作成する。
1-1.「許可されたページテンプレート」に「リスト形式」と「タイル形式」を選択する。
1-2.「コンポーザーで開きますか?」は「はい」にする。
2.作成したページタイプの「フォームを編集」をクリックする。
2-1.セットを追加する。
2-2.フォームコントロールにページ名、ページテンプレート、記事を追加する。
3.作成したページタイプの「出力」をクリックする。
3-1.「リスト形式」の編集ボタンをクリックし、ブロックとしてコンポーザーコントロールを配置する。
3-2.更に、ブロックとしてページリストを配置する。
3-3.次に「タイル形式」の編集ボタンをクリックし、ブロックとしてコンポーザーコントロールを配置する。
3-4.こちらにもページリストを配置するが、デザイン&カスタムテンプレートで「サムネイルグリッド」を選択する。

上記の状態で、お知らせ一覧ページを新規作成する時は期待通りの動作になったのですが、その後、作成したページのコンポーザーをもう一度開いてページテンプレートを切り替えてから保存しても、ページリストの表示が切り替わりません。これは仕様なのでしょうか。

環境情報は下記の通りです。
----------------------------------------
# concrete5 Version
Core Version - 8.5.0
Version Installed - 8.5.0
Database Version - 20190301133300

# concrete5 Packages
Cycle2 Slide Show (1.0.2), Stucco (2.1.6)

# concrete5 Overrides
themes/starter_theme/page_theme.php, themes/starter_theme/elements/footer.php, themes/starter_theme/elements/header.php, themes/starter_theme/elements, themes/starter_theme/default.php, themes/starter_theme/css/bootstrap.min.css, themes/starter_theme/css/fonts/glyphicons-halflings-regular.eot, themes/starter_theme/css/fonts/glyphicons-halflings-regular.svg, themes/starter_theme/css/fonts/glyphicons-halflings-regular.woff2, themes/starter_theme/css/fonts/glyphicons-halflings-regular.woff, themes/starter_theme/css/fonts/glyphicons-halflings-regular.ttf, themes/starter_theme/css/fonts, themes/starter_theme/css/main.css, themes/starter_theme/css, themes/starter_theme/js/bootstrap.min.js, themes/starter_theme/js, themes/starter_theme/thumbnail.png, themes/starter_theme

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.25 (Debian)

# Server API
apache2handler

# PHP Version
7.2.16-1+0~20190307202415.17+stretch~1.gbpa7be82

# PHP Extensions
apache2handler, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, sodium, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
upload_max_filesize - 8M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - no value
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

2021/04/30追記です。
バージョンを8.5.5に上げましたが同じ結果でした。

タグ:

Re: ページを新規作成後、ページテンプレートを変更しても反映されない

2021年4月30日 at 19:44
こんにちは

> その後、作成したページのコンポーザーをもう一度開いてページテンプレートを切り替えてから保存しても、ページリストの表示が切り替わりません。これは仕様なのでしょうか。

はい、単刀直入に返答すると、これは仕様ですね・・・。
ページを作成した時点のみ有効です。

柔軟に編集できてしまう concrete5 の長所が今回のケースでは仕様としてできない形になってしまった感じです。
 

Re: ページを新規作成後、ページテンプレートを変更しても反映されない

2021年4月30日 at 23:52
ありがとうございます。仕様ということで了解しました。