Add {switch} example in Fluid Field's Grid Example

オープン
#9 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

  • #14 @bsrweb による — マージされずにクローズ

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
php
領域
documentation

調査の方向性

Find the Fluid Field Grid example in the user guide and read its surrounding syntax examples. Add a single-line {switch} example using {content:switch='odd|even'], then confirm it explains how the syntax differs from a stand-alone Grid Field.

索引モデルが issue の本文から書いたものです。

説明

good first issue

Suggested Change
Add a single-line example of a {switch} statement inside a Fluid Field's Grid Field code example.

Reasoning
The syntax is a little different when a Grid Field is inside a Fluid Field loop:
{content:switch='odd|even'] as opposed to a stand-along Grid Field: {grid_field_name:switch='odd|even'}.

Additional context
Or maybe it's just me. When I first ran into this, I tried {content}{grid_field:switch}{/content} , then {content:grid_field:switch}, and then after a process of elimination, got the {switch} to work.

主要言語
CSS
スター
22
フォーク
79
平均マージ
2日 1時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ExpressionEngine/ExpressionEngine-User-Guide のほかの issue

ExpressionEngine/ExpressionEngine-User-Guide の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。