Japanese follows.
Ver.9.1.2. Advanced Permission enabled.
I created a page which only logged-in users can view.
When I mobile-preview this page, no contents displayed.
It seems that this is the preview for guest users.
ver. 9.1.2 で 上級権限 モードを 有効に
=> 登録ユーザーしか 見れないページ を作る
=> モバイルプレビュー すると, ゲスト権限で見る? ため、コンテンツが表示されない
これは仕様でしょうか?
katz515
October 14, 2022, 12:51am
2
@FumitoMIZUNO
ちょいと v8 時代の情報で古いですが、その時はゲストユーザー権限になっていて、ログインユーザーなど考慮されていなかったと記憶しています。
もしも V9 のコードでも同じようであれば、
GitHub の Issue に登録してもいいと思います。
you are probably using php 7.x switch to 8x and will work
katz515
November 25, 2022, 11:31am
4
@ampersand I can confirm locally that php8 also behave the same. It’s not about PHP version.
It’s about how mobile preview feature is only available for guest user.
katz515
November 25, 2022, 12:09pm
5
@FumitoMIZUNO 今、9.1.3 のシンプルな権限モードでも、一般公開以外のページでは、モバイルプレビュー機能が使えないことがわかりました。
GitHub で Issue を登録しました
opened 12:08PM - 25 Nov 22 UTC
Type:Enhancement
### Description
Confirmed that it's been happening for a long time.
@ounziw … said that the following
https://forums.concretecms.org/t/topic/4066
Mobile Preview feature doesn't work if the page is not open to the guest.
it just shows almost blank page like the following
![image](https://user-images.githubusercontent.com/485751/203977584-11928e49-e124-4e55-afe8-4ed489255d65.png)
I think this will be neat feature if you can check mobile view for registered user only pages,
### Example
- make a page private
- Try to use Mobile Preview, but it doesn't render the page
Chrome の開発者ツールでモバイル切り替えができますが、開発ツールでモバイル表示に切り替えた時に、Cookie や session のデータがリセットされるので、ログアウトされてしまうので、少し不便なので、
Mobile Preview で非公開ページとかも確認できると確かに便利ですね。