Groups
Groups
Sign in
Groups
Groups
a-blog cms forum
Conversations
Labels
About
Send feedback
Help
エントリーのカスタムフィールドの記述について
18 views
Skip to first unread message
株式会社エーワン
unread,
Oct 31, 2025, 3:43:50 AM (14 days ago)
Oct 31
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to a-blog cms forum
お世話になっております。
エントリーのカスタムフィールドにの記述ついて質問があります。
<!-- BEGIN_MODULE Entry_Field -->のEntry_Fieldモジュール内で
それぞれカスタムフィールドの構文を書いてエントリーを保存すると、
<!-- BEGIN_IF~>の記述や <!-- END_IF -->の記述がすべて消えてしまい、
カスタムフィールドにて記述している内容を表示することができない状態になってしまいます。
--------------------------------------------------------------------
▼エントリー記述保存前 例)
<!-- BEGIN_MODULE Entry_Field -->
<div>
<!--写真-->
<!-- BEGIN_IF [{img @type}/eq/file] -->
<a href="{img @path}">
<img alt="{img @alt}" src="{img @thumbnail}" />
</a>
<!-- END_IF -->
<!-- BEGIN_IF [{img @type}/eq/image] -->
<!-- BEGIN_IF [{img @link}/nem] -->
<a href="{img @link}">
<!-- END_IF -->
<img alt="{img @alt}" src="%{MEDIA_ARCHIVES_DIR}{img @path}" />
<!-- BEGIN_IF [{img @link}/nem] -->
</a>
<!-- END_IF -->
<!-- BEGIN_IF [{img @text}/nem] -->
<p>{ img @text}</p>
<!-- END_IF -->
<!-- END_IF -->
<!--写真-->
</div>
<!-- END_MODULE Entry_Field -->
--------------------------------------------------------------------
▼エントリー保存後 例)
<div>
<!--写真-->
<!--写真-->
</div>
--------------------------------------------------------------------
こちらの現象は初めて起きたのですが、考えられる原因などはありますでしょうか?
お手数おかけしますがよろしくお願いいたします。
a-blog cms のバージョン: Ver. 3.1.47
php のバージョン: 8.3.25
レンタルサーバー会社: ヘテムル
再現ブラウザ: Googlechrome
伊藤淳
unread,
Oct 31, 2025, 5:48:54 AM (14 days ago)
Oct 31
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to a-blog cms forum
お世話になっております。
こちらもう少し質問させてください。
エントリーを保存するととありますが、記載されたコードをエントリーのユニットなどに入れて、保存するとユニットの内容が消えてしまうということでしょうか?
ご確認のほどよろしくお願いいたします。
2025年10月31日金曜日 16:43:50 UTC+9
yoshiz...@gmail.com
:
株式会社エーワン
unread,
Nov 4, 2025, 1:48:46 AM (10 days ago)
Nov 4
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to a-blog cms forum
ご返信ありがとうございます。
はい、その通りです。例で記載したコードをエントリーのユニットに入れ、
保存すると エントリー保存後 例 のように内容が消えてしまっております。
お手数おかけいたしますが、ご確認のほどよろしくお願いいたします。
2025年10月31日金曜日 18:48:54 UTC+9 伊藤淳:
伊藤淳
unread,
Nov 4, 2025, 10:28:15 PM (9 days ago)
Nov 4
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to a-blog cms forum
ご確認ありがとうございます。
こちら申し訳ございません。既知の不具合になり、Ver. 3.1.50 で修正されております。
大変申し訳ございませんが、CMSアップデートをご検討いただけますでしょうか。
また以下のようにコードを挿入する場合は、ソースを選択いただければと思います。
お手数ですがご確認のほどよろしくお願いいたします。
2025年11月4日火曜日 15:48:46 UTC+9
yoshiz...@gmail.com
:
株式会社エーワン
unread,
Nov 6, 2025, 1:00:17 AM (8 days ago)
Nov 6
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to a-blog cms forum
ご返信ありがとうございます。
アップデートしたところ従来のとおり表示されるようになりました。
この度はご教授いただきありがとうございました。
また何かございましたら質問させていただくかと思いますが、何卒宜しくお願い致します。
2025年11月5日水曜日 12:28:15 UTC+9 伊藤淳:
Reply all
Reply to author
Forward
0 new messages